7568
|
1 include ../config.mak
|
|
2
|
|
3 LIBNAME = libaf.a
|
|
4
|
13996
|
5 SRCS=af.c af_mp.c af_dummy.c af_delay.c af_channels.c af_format.c af_resample.c \
|
|
6 window.c filter.c af_volume.c af_equalizer.c af_tools.c af_comp.c af_gate.c \
|
|
7 af_pan.c af_surround.c af_sub.c af_export.c af_volnorm.c af_extrastereo.c \
|
|
8 af_lavcresample.c af_sweep.c af_hrtf.c
|
7568
|
9
|
|
10 OBJS=$(SRCS:.c=.o)
|
|
11
|
9329
|
12 CFLAGS = $(OPTFLAGS) -I. -Wall $(EXTRA_INC)
|
9770
|
13
|
12706
|
14 ifeq ($(TARGET_OS),MINGW32)
|
9770
|
15 CFLAGS += -D_IO_H_
|
|
16 endif
|
|
17
|
7568
|
18 .SUFFIXES: .c .o
|
|
19
|
|
20 .c.o:
|
|
21 $(CC) -c $(CFLAGS) -o $@ $<
|
|
22
|
|
23 $(LIBNAME): $(OBJS) Makefile
|
|
24 $(AR) r $(LIBNAME) $(OBJS)
|
12632
|
25 $(RANLIB) $(LIBNAME)
|
7568
|
26
|
8167
|
27 $(OBJS):af.h control.h dsp.h filter.h window.h af_mp.h
|
7568
|
28
|
|
29 all: $(LIBNAME)
|
|
30
|
|
31 clean:
|
|
32 rm -f *.o *.a *~
|
|
33
|
|
34 distclean:
|
|
35 rm -f *.o *.a *~ .depend
|
|
36
|
|
37 dep: depend
|
|
38
|
|
39 depend:
|
|
40 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
|
|
41
|
|
42 #
|
|
43 # include dependency files if they exist
|
|
44 #
|
|
45 ifneq ($(wildcard .depend),)
|
|
46 include .depend
|
|
47 endif
|