source: roaraudio/libroardsp/Makefile @ 1626:9f536f50c6e2

Last change on this file since 1626:9f536f50c6e2 was 1626:9f536f50c6e2, checked in by phi, 15 years ago

added files for mid-side decoding

File size: 820 bytes
RevLine 
[650]1include ../Makefile.conf
2
[1514]3SLIB=libroardsp.so
4
5TARGETS=libroardsp.so libroardsp.a
[1626]6OBJS=libroardsp.o convert.o midside.o poly.o filter.o filterchain.o alaw.o mulaw.o
[686]7OLDROAR=midi.o
[1586]8FILTER=lowp.o highp.o amp.o quantify.o add.o clip.o downmix.o dcblock.o swap.o
[650]9
10#DEFINES        = -DDEBUG
[653]11INCLUDE = -I../include -I../include/libroardsp
[1389]12CFLAGS += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC)
[1102]13LDFLAGS = -g $(SHARED) -L../lib/ $(LDPATH) $(lib_dnet) $(lib_m) -lroar
[650]14
15all: ${TARGETS}
[1514]16        rm -f ../lib/${SLIB} 2> /dev/null || true
[650]17        cp $(cp_v) ${TARGETS} ../lib/
18clean:
19        rm -f ${TARGETS} *.o
20new: clean all
21
[686]22libroardsp.so: ${OBJS} $(FILTER) $(OLDROAR)
23        ${CC} ${LDFLAGS} -o libroardsp.so ${OBJS} $(FILTER) $(OLDROAR)
[1514]24libroardsp.a: ${OBJS} $(FILTER) $(OLDROAR)
25        ${AR} cru libroardsp.a ${OBJS} $(FILTER) $(OLDROAR)
Note: See TracBrowser for help on using the repository browser.