source: roaraudio/libroardsp/Makefile @ 1303:7c24529981ef

Last change on this file since 1303:7c24529981ef was 1303:7c24529981ef, checked in by phi, 15 years ago

delete old version of lib befor install a new one

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