annotate libaf/Makefile @ 7974:db1f16543379

enable volume filter and fix nonsense default volume (still not usable because mixer.c has no mechanism to pass volume commands to libaf)
author rfelker
date Wed, 30 Oct 2002 04:11:26 +0000
parents 1d3a3dc1f488
children c0e556f9986b
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
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
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
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
9 CFLAGS = $(OPTFLAGS) -I. -Wall
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
10 .SUFFIXES: .c .o
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
11
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
12 .c.o:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
13 $(CC) -c $(CFLAGS) -o $@ $<
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
14
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
15 $(LIBNAME): $(OBJS) Makefile
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
16 $(AR) r $(LIBNAME) $(OBJS)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
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
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 all: $(LIBNAME)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
21
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
22 clean:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
23 rm -f *.o *.a *~
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 distclean:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
26 rm -f *.o *.a *~ .depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
27
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
28 dep: depend
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 depend:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
31 $(CC) -MM $(CFLAGS) $(SRCS) 1>.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 #
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
34 # include dependency files if they exist
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
35 #
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
36 ifneq ($(wildcard .depend),)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
37 include .depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
38 endif