Mercurial > mplayer.hg
annotate libaf/Makefile @ 8255:97e8dfe61ab1
check for -Wall support & use it if available patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
arpi, feel free to reverse if u dont like -Wall
author | michael |
---|---|
date | Sat, 23 Nov 2002 11:01:23 +0000 |
parents | e8832e66babd |
children | 226e6866212d |
rev | line source |
---|---|
7568 | 1 include ../config.mak |
2 | |
3 LIBNAME = libaf.a | |
4 | |
8167 | 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 |
7568 | 6 |
7 OBJS=$(SRCS:.c=.o) | |
8 | |
8255
97e8dfe61ab1
check for -Wall support & use it if available patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
michael
parents:
8167
diff
changeset
|
9 CFLAGS = $(OPTFLAGS) -I. |
7568 | 10 .SUFFIXES: .c .o |
11 | |
12 .c.o: | |
13 $(CC) -c $(CFLAGS) -o $@ $< | |
14 | |
15 $(LIBNAME): $(OBJS) Makefile | |
16 $(AR) r $(LIBNAME) $(OBJS) | |
17 | |
8167 | 18 $(OBJS):af.h control.h dsp.h filter.h window.h af_mp.h |
7568 | 19 |
20 all: $(LIBNAME) | |
21 | |
22 clean: | |
23 rm -f *.o *.a *~ | |
24 | |
25 distclean: | |
26 rm -f *.o *.a *~ .depend | |
27 | |
28 dep: depend | |
29 | |
30 depend: | |
31 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
32 | |
33 # | |
34 # include dependency files if they exist | |
35 # | |
36 ifneq ($(wildcard .depend),) | |
37 include .depend | |
38 endif |