source: roaraudio/libroardsp/Makefile @ 5548:73e43db30a1c

Last change on this file since 5548:73e43db30a1c was 5548:73e43db30a1c, checked in by phi, 12 years ago

Added filter based on Goertzel algorithm

File size: 1.2 KB
RevLine 
[650]1include ../Makefile.conf
[2381]2include ../Makefile.inc
[650]3
[2050]4SLIB=libroardsp$(SHARED_SUFFIX)
[1514]5
[2050]6TARGETS=$(SLIB) libroardsp.a
[5546]7OBJS=libroardsp.o convert.o midside.o poly.o filter.o filterchain.o remove.o transcode.o vio_transcode.o rms.o fader.o mixer.o amp.o interleave.o channels.o resampler_poly3.o float.o dtmf.o
[686]8OLDROAR=midi.o
[5548]9FILTER=filter_lowp.o filter_highp.o filter_amp.o filter_quantify.o filter_add.o filter_clip.o filter_downmix.o filter_dcblock.o filter_swap.o filter_agc.o filter_speex_prep.o filter_responsecurve.o filter_goertzel.o
[2435]10MIDI=synth.o
11CODECS=alaw.o mulaw.o
[2295]12TRANSCODERS=transcode_mualaw.o transcode_celt.o transcode_speex.o
[2179]13
[2435]14ALLOBJS=$(OBJS) $(FILTER) $(TRANSCODERS) $(OLDROAR) $(MIDI) $(CODECS)
[650]15
16#DEFINES        = -DDEBUG
[653]17INCLUDE = -I../include -I../include/libroardsp
[4748]18CFLAGS += -g -Wall $(OPTI_O) $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC)
[5270]19LDFLAGS+= -g -Wall $(SHARED) -L../lib/ $(LDPATH)
[2187]20
[2381]21LIBS      = $(LIBROARDSP_NS)
[650]22
23all: ${TARGETS}
[1514]24        rm -f ../lib/${SLIB} 2> /dev/null || true
[650]25        cp $(cp_v) ${TARGETS} ../lib/
26clean:
27        rm -f ${TARGETS} *.o
28new: clean all
29
[2179]30$(SLIB): $(ALLOBJS)
[3629]31        ${CC} ${LDFLAGS} -Wl,-soname,$(SLIB).$(LIBROARDSP_V) -o $(SLIB) $(ALLOBJS) $(LIBS)
[2179]32libroardsp.a: $(ALLOBJS)
33        ${AR} cru libroardsp.a $(ALLOBJS)
[1773]34        ${RANLIB} libroardsp.a
Note: See TracBrowser for help on using the repository browser.