Makefile
1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#
# Makefile for reverb test programs
#
REVERB_OBJECTS = allpass.o \
comb.o \
apcomb.o \
delay.o \
lowpass.o \
lpcomb.o \
revmain.o \
output.o
OPTIMIZER = -g
# OPTIMIZER = -sopt-inline
TARGETS = HALverb LEXverb 3DOverb SNESverb JAMverb TAPDAPverb
LDLIBSS = -lm
default: $(TARGETS)
HALverb: $(REVERB_OBJECTS) HALverb.o
$(CC) $(OPTIMIZER) HALverb.o $(REVERB_OBJECTS) $(LDLIBS) -o $@
LEXverb: $(REVERB_OBJECTS) LEXverb.o
$(CC) $(OPTIMIZER) LEXverb.o $(REVERB_OBJECTS) $(LDLIBS) -o $@
3DOverb: $(REVERB_OBJECTS) 3DOverb.o
$(CC) $(OPTIMIZER) 3DOverb.o $(REVERB_OBJECTS) $(LDLIBS) -o $@
SNESverb: $(REVERB_OBJECTS) SNESverb.o
$(CC) $(OPTIMIZER) SNESverb.o $(REVERB_OBJECTS) $(LDLIBS) -o $@
JAMverb: $(REVERB_OBJECTS) JAMverb.o
$(CC) $(OPTIMIZER) JAMverb.o $(REVERB_OBJECTS) $(LDLIBS) -o $@
TAPDAPverb: $(REVERB_OBJECTS) TAPDAPverb.o
$(CC) $(OPTIMIZER) TAPDAPverb.o $(REVERB_OBJECTS) $(LDLIBS) -o $@
# Dependencies
allpass.o: allpass.h allpass.c
comb.o: comb.h comb.c
apcomb.o: apcomb.h apcomb.c
delay.o: delay.h delay.c
lowpass.o: lowpass.h lowpass.c
lpcomb.o: lpcomb.h lpcomb.c
revmain.o: revmain.h revmain.c
output.o: output.c
HALverb.o: HALverb.h HALverb.c
LEXverb.o: LEXverb.h LEXverb.c
SNESverb.o: SNESverb.h SNESverb.c
3DOverb.o: 3DOverb.h 3DOverb.c
JAMverb.o: JAMverb.h JAMverb.c
TAPDAPverb.o: TAPDAPverb.h TAPDAPverb.c
# Rules
.c.o:
$(CC) -c $(OPTIMIZER) $<
clean:
rm -f a.out core *.u *.o *~ *verb