source: roaraudio/libroardsp/Makefile @ 1102:06c1ee7b2f05

Last change on this file since 1102:06c1ee7b2f05 was 1102:06c1ee7b2f05, checked in by phi, 15 years ago

only link libm if we have it!

File size: 612 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        cp $(cp_v) ${TARGETS} ../lib/
15clean:
16        rm -f ${TARGETS} *.o
17new: clean all
18
19libroardsp.so: ${OBJS} $(FILTER) $(OLDROAR)
20        ${CC} ${LDFLAGS} -o libroardsp.so ${OBJS} $(FILTER) $(OLDROAR)
Note: See TracBrowser for help on using the repository browser.