Enable higher quality resampling, as it doesn't have a noticeable performance
[asterisk-bristuff.git] / main / libresample / Makefile.in
blob8d17d19b4cdcb695c2ec7894aedc4db2aa484aec
1 # Run configure to generate Makefile from Makefile.in on
2 # any system supported by GNU autoconf. For all other
3 # systems, use this file as a template to create a
4 # working Makefile.
6 CC = @CC@
7 CFLAGS = @CFLAGS@ -Wall
9 LIBS = @LIBS@ -lm
11 AR = @AR@
12 RANLIB = @RANLIB@
14 OBJS = \
15 src/resample.c.o \
16 src/resamplesubs.c.o \
17 src/filterkit.c.o
19 TARGETS = @TARGETS@
21 all: $(TARGETS)
23 libresample.a: $(OBJS) Makefile
24 $(AR) ruv libresample.a $(OBJS)
25 ranlib libresample.a
27 tests/testresample: libresample.a tests/testresample.c
28 $(CC) -o tests/testresample \
29 $(CFLAGS) tests/testresample.c \
30 libresample.a $(LIBS)
32 tests/compareresample: libresample.a tests/compareresample.c
33 $(CC) -o tests/compareresample \
34 $(CFLAGS) tests/compareresample.c \
35 libresample.a -lsamplerate $(LIBS)
37 tests/resample-sndfile: libresample.a tests/resample-sndfile.c
38 $(CC) -o tests/resample-sndfile \
39 $(CFLAGS) tests/resample-sndfile.c \
40 libresample.a -lsndfile $(LIBS)
42 clean:
43 rm -f $(TARGETS) $(OBJS)
45 distclean: clean
46 rm -f Makefile
47 rm -f config.status config.cache config.log src/config.h
48 rm -f *~ src/*~ tests/*~ include/*~
50 %.c.o: %.c Makefile include/libresample.h \
51 src/resample_defs.h src/filterkit.h src/config.h
52 $(CC) -c $(CFLAGS) $< -o $@