Mercurial > mplayer.hg
annotate libaf/Makefile @ 8154:3dd948f5d012
size optim
author | pontscho |
---|---|
date | Mon, 11 Nov 2002 18:31:13 +0000 |
parents | c0e556f9986b |
children | e8832e66babd |
rev | line source |
---|---|
7568 | 1 include ../config.mak |
2 | |
3 LIBNAME = libaf.a | |
4 | |
8073 | 5 SRCS=af.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 | |
9 CFLAGS = $(OPTFLAGS) -I. -Wall | |
10 .SUFFIXES: .c .o | |
11 | |
12 .c.o: | |
13 $(CC) -c $(CFLAGS) -o $@ $< | |
14 | |
15 $(LIBNAME): $(OBJS) Makefile | |
16 $(AR) r $(LIBNAME) $(OBJS) | |
17 | |
7745
1d3a3dc1f488
Adding volume control and moving control() call parameters to a seperate file
anders
parents:
7568
diff
changeset
|
18 $(OBJS):af.h control.h dsp.h filter.h window.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 |