Mercurial > mplayer.hg
annotate libaf/Makefile @ 11141:1ed8e514c725
Fix compilation when libavcodec is missing.
Patch by Nico <nsabbi@libero.it>
author | attila |
---|---|
date | Thu, 16 Oct 2003 08:45:10 +0000 |
parents | 2167ac4c1d72 |
children | 80973aa180a5 |
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 |
11 ifeq ($(TARGET_MINGW32),yes) | |
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) | |
22 | |
8167 | 23 $(OBJS):af.h control.h dsp.h filter.h window.h af_mp.h |
7568 | 24 |
25 all: $(LIBNAME) | |
26 | |
27 clean: | |
28 rm -f *.o *.a *~ | |
29 | |
30 distclean: | |
31 rm -f *.o *.a *~ .depend | |
32 | |
33 dep: depend | |
34 | |
35 depend: | |
36 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
37 | |
38 # | |
39 # include dependency files if they exist | |
40 # | |
41 ifneq ($(wildcard .depend),) | |
42 include .depend | |
43 endif |