Mercurial > mplayer.hg
annotate libaf/Makefile @ 13051:4072143b84f6
readability whitespace fix
author | diego |
---|---|
date | Thu, 19 Aug 2004 11:57:33 +0000 |
parents | 51d61721906b |
children | 81e62cbe57d9 |
rev | line source |
---|---|
7568 | 1 include ../config.mak |
2 | |
3 LIBNAME = libaf.a | |
4 | |
10892
2167ac4c1d72
Adding filter for exporting audio data to visual effect applications
anders
parents:
9770
diff
changeset
|
5 SRCS=af.c af_mp.c af_dummy.c af_delay.c af_channels.c af_format.c af_resample.c window.c filter.c af_volume.c af_equalizer.c af_tools.c af_comp.c af_gate.c af_pan.c af_surround.c af_sub.c af_export.c |
7568 | 6 |
7 OBJS=$(SRCS:.c=.o) | |
8 | |
9329 | 9 CFLAGS = $(OPTFLAGS) -I. -Wall $(EXTRA_INC) |
9770 | 10 |
12706 | 11 ifeq ($(TARGET_OS),MINGW32) |
9770 | 12 CFLAGS += -D_IO_H_ |
13 endif | |
14 | |
7568 | 15 .SUFFIXES: .c .o |
16 | |
17 .c.o: | |
18 $(CC) -c $(CFLAGS) -o $@ $< | |
19 | |
20 $(LIBNAME): $(OBJS) Makefile | |
21 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 22 $(RANLIB) $(LIBNAME) |
7568 | 23 |
8167 | 24 $(OBJS):af.h control.h dsp.h filter.h window.h af_mp.h |
7568 | 25 |
26 all: $(LIBNAME) | |
27 | |
28 clean: | |
29 rm -f *.o *.a *~ | |
30 | |
31 distclean: | |
32 rm -f *.o *.a *~ .depend | |
33 | |
34 dep: depend | |
35 | |
36 depend: | |
37 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
38 | |
39 # | |
40 # include dependency files if they exist | |
41 # | |
42 ifneq ($(wildcard .depend),) | |
43 include .depend | |
44 endif |