Makefile
879 Bytes
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
#!smake
#
# Makefile for Sound effects banks
#
include $(ROOT)/usr/include/make/PRdefs
TARGETS = $(BANKFILES)
AIFFFILES = echobell.aiff PresA_Dn_1.aiff PresA_Suc_1.aiff PresA_Z_1.aiff PresB_Up_1.aiff PressA_Slt_1.aiff SelectMov_1.aiff PersonUp_1.aiff logo_mono.aiff
AIFCFILES=$(AIFFFILES:.aiff=.aifc)
TABLEFILES=$(AIFFFILES:.aiff=.table)
INSTFILES = sound.inst
BANKFILES=$(INSTFILES:.inst=.ctl)
TBLFILES=$(INSTFILES:.inst=.tbl)
SYMFILES=$(INSTFILES:.inst=.sym)
LDIRT= $(TABLEFILES) $(AIFCFILES) $(SYMFILES) $(BANKFILES) $(TBLFILES)
.NOTPARALLEL:
default: $(TARGETS)
include $(COMMONRULES)
.SUFFIXES: .aiff .aifc .inst .ctl .tbl .sym
#banks: $(BANKFILES) $(AIFCFILES)
$(BANKFILES): $(AIFCFILES)
.aiff.aifc:
$(TABLEDESIGN) $< > $*.table
$(VADPCM_ENC) -t -c $*.table $< $@
.inst.ctl:
$(IC) -n -o $* $<
.inst.tbl:
$(IC) -n -o $* $<
.inst.sym:
$(IC) -n -o $* $<