Makefile
743 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
#!smake
#
# Makefile for audio library
#
include $(ROOT)/usr/include/make/PRdefs
TARGETS= $(BANKFILES) $(TABLEFILES)
INSTFILES = GenMidi44k.inst GenMidiBank.inst GenMidiRaw.inst sfx.inst
BANKFILES=$(INSTFILES:.inst=.ctl)
TABLEFILES=$(INSTFILES:.inst=.tbl)
SYMFILES=$(INSTFILES:.inst=.sym)
LDIRT=$(SYMFILES)
default: $(TARGETS) $(SYMFILES)
include $(COMMONRULES)
banks: $(BANKFILES)
exports: default
$(INSTALL) -F /usr/lib/PR/soundbanks $(TARGETS)
install: default
$(INSTALL) -m 444 -F /usr/lib/PR/soundbanks $(TARGETS) $(SYMFILES)
$(INSTALL) -m 444 -F /usr/src/PR/assets/banks $(INSTFILES) Makefile
.NOTPARALLEL:
.SUFFIXES: .inst .ctl .tbl .sym
.inst.ctl:
$(IC) -o $* $<
.inst.tbl:
$(IC) -o $* $<
.inst.sym:
$(IC) -o $* $<