Makefile
1.03 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
#!smake
#
# Makefile for GenMidiSounds
#
include $(ROOT)/usr/include/make/PRdefs
TARGETS= sounds
AIFFFILES = Airhorn.22k.aiff\
Grunt.22k.aiff\
PnchThrw.44k.aiff\
Select.6k.aiff\
Skate.22k.aiff\
SkateStop.11k.aiff\
Slapshot.11k.aiff\
Warnhorn.9k.aiff\
Bodyhit.14k.aiff\
Dungeon.22k.aiff\
EngRev.22k.aiff\
GlassBreak.22k.aiff\
LionRoar.22k.aiff\
Thunder.32k.aiff\
TireSqueal.22k.aiff
AIFCFILES=$(AIFFFILES:.aiff=.aifc)
TABLEFILES=$(AIFFFILES:.aiff=.table)
LDIRT= $(TABLEFILES) $(AIFCFILES)
default: $(TARGETS)
include $(COMMONRULES)
.SUFFIXES: .aiff .aifc
.aiff.aifc:
$(TABLEDESIGN) $< > $*.table
$(VADPCM_ENC) -t -c $*.table $< $@
sounds: $(AIFCFILES)
exports: default
$(INSTALL) -F /usr/lib/PR/$(TARGETS) $(AIFCFILES)
install: default
$(INSTALL) -m 444 -F /usr/lib/PR/$(TARGETS) $(AIFCFILES)
$(INSTALL) -m 444 -F /usr/src/PR/assets/sfx $(AIFFFILES) Makefile