Makefile 879 Bytes
#!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 $* $<