source: roaraudio/libroardsp/Makefile @ 1389:ba7d3f033dad

Last change on this file since 1389:ba7d3f033dad was 1389:ba7d3f033dad, checked in by phi, 15 years ago

don't set -fPIC on win32

File size: 677 bytes
Line 
1include ../Makefile.conf
2
3TARGETS=libroardsp.so
4OBJS=libroardsp.o convert.o poly.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.