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