Makefile
1.54 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
69
70
71
72
73
74
75
76
77
78
79
80
#
# Makefile for Viper
#
include $(ROOT)/usr/include/make/PRdefs
TARGETS= banks
SEQFILES = Viper.mid
SEQBANK = Viper.sbk
INSTFILES = Viper.inst
BANKFILES=$(INSTFILES:.inst=.ctl)
AIFFFILES = sounds/ClearBell_A5.aiff\
sounds/ViperChina.aiff\
sounds/ViperCrash.aiff\
sounds/ViperKick.aiff\
sounds/ViperTom.aiff\
sounds/Drone_G3.aiff\
sounds/FatBass_G2.aiff\
sounds/PrphtBrs_A5.aiff\
sounds/PrphtBrs_D5.aiff\
sounds/PrphtBrs_E6.aiff\
sounds/Pulse_G2.aiff\
sounds/Strings_E4.aiff\
sounds/Strings_Gb4.aiff\
sounds/Strings_D5.aiff\
sounds/Strings_C6.aiff
SEQBNKF = $(SEQFILES:.mid=.seq)
AIFCFILES=$(AIFFFILES:.aiff=.aifc)
TABLEFILES=$(AIFFFILES:.aiff=.table)
LDIRT= $(TABLEFILES) $(AIFCFILES) $(SEQBNKF) $(SEQBANK) \
$(BANKFILES) $(INSTFILES:.inst=.sym) $(INSTFILES:.inst=.tbl)
default: $(AIFCFILES) $(TARGETS) Makefile
include $(COMMONRULES)
.SUFFIXES: .aiff .aifc .inst .ctl .tbl .mid .seq .sbk
.mid.seq:
$(MIDICVT) -s $< $*.seq
.aiff.aifc:
$(TABLEDESIGN) $< > $*.table
$(VADPCM_ENC) -t -c $*.table $< $@
.inst.ctl: $(AIFFFILES)
$(IC) -o $* $<
.inst.tbl: # Dummy target for tables
@echo ''
$(SEQBANK): $(SEQBNKF)
$(SBC) -o $(SEQBANK) $(SEQBNKF)
sounds: $(AIFCFILES)
$(BANKFILES): $(AIFCFILES)
banks:$(SEQBANK) $(BANKFILES)
exports: default
$(INSTALL) -F /usr/lib/PR/$(TARGETS) $(AIFCFILES)
install: default
$(INSTALL) -F /usr/lib/PR/$(TARGETS) $(AIFCFILES)