Mercurial > mplayer.hg
annotate libaf/Makefile @ 7790:913e9b1f390f
10L
author | kmkaplan |
---|---|
date | Sat, 19 Oct 2002 01:58:34 +0000 |
parents | 1d3a3dc1f488 |
children | c0e556f9986b |
rev | line source |
---|---|
7568 | 1 include ../config.mak |
2 | |
3 LIBNAME = libaf.a | |
4 | |
7745
1d3a3dc1f488
Adding volume control and moving control() call parameters to a seperate file
anders
parents:
7568
diff
changeset
|
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 |
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 |