Mercurial > mplayer.hg
annotate libaf/Makefile @ 7837:6d544beb655e
libdha on linux powerpc support by Colin Leroy <colin@colino.net>
author | alex |
---|---|
date | Tue, 22 Oct 2002 12:22:40 +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 |