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
7 CFLAGS
= @CFLAGS@
-Wall
16 src
/resamplesubs.c.o \
23 libresample.a
: $(OBJS
) Makefile
24 $(AR
) ruv libresample.a
$(OBJS
)
27 tests
/testresample
: libresample.a tests
/testresample.c
28 $(CC
) -o tests
/testresample \
29 $(CFLAGS
) tests
/testresample.c \
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
)
43 rm -f
$(TARGETS
) $(OBJS
)
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
$@