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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
1 include ../config.mak
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
2
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
3 LIBNAME = libaf.a
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
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
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
6
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
7 OBJS=$(SRCS:.c=.o)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
8
9329
113095b8258b required for i18n+-lintl (found by Nexus)
arpi
parents: 8832
diff changeset
9 CFLAGS = $(OPTFLAGS) -I. -Wall $(EXTRA_INC)
9770
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
10
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
11 ifeq ($(TARGET_MINGW32),yes)
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
12 CFLAGS += -D_IO_H_
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
13 endif
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
14
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
15 .SUFFIXES: .c .o
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
16
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
17 .c.o:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
18 $(CC) -c $(CFLAGS) -o $@ $<
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
19
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
20 $(LIBNAME): $(OBJS) Makefile
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
21 $(AR) r $(LIBNAME) $(OBJS)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
22
8167
e8832e66babd New features:
anders
parents: 8073
diff changeset
23 $(OBJS):af.h control.h dsp.h filter.h window.h af_mp.h
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
24
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
25 all: $(LIBNAME)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
26
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
27 clean:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
28 rm -f *.o *.a *~
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
29
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
30 distclean:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
31 rm -f *.o *.a *~ .depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
32
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
33 dep: depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
34
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
35 depend:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
36 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
37
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
38 #
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
39 # include dependency files if they exist
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
40 #
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
41 ifneq ($(wildcard .depend),)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
42 include .depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
43 endif