Makefile 1.1 KB
#!smake -k
# --------------------------------------------------------------------
#        Copyright (C) 1997 Nintendo. (Originated by SGI)
#        
#        $RCSfile: Makefile,v $
#        $Revision: 1.1.1.1 $
#        $Date: 2003/08/05 23:50:47 $
# --------------------------------------------------------------------
#
# Makefile for gonogo audio assets
#

include $(ROOT)/usr/include/make/PRdefs

TARGETS = $(BANKFILES) $(TABLEFILES) $(SEQFILES)

MIDIFILES = gonogo1.mid noteLeft.mid noteRight.mid subway.mid

INSTFILES = gngBank.inst sfx.inst

AIFF_FILES = batu.aiff maru.aiff sinwave22k.aiff triwave22k.aiff

SEQFILES = $(MIDIFILES:.mid=.seq)
BANKFILES=$(INSTFILES:.inst=.ctl)
TABLEFILES=$(INSTFILES:.inst=.tbl)
SYMFILES=$(INSTFILES:.inst=.sym)

LDIRT = gngBank.sym sfx.sym

default: $(TARGETS)

include $(COMMONRULES)

.SUFFIXES: .inst .ctl .tbl .mid .seq

.mid.seq:
	$(MIDICVT) -s $< $*.seq

.inst.ctl:
	$(IC) -o $* $<

.inst.tbl:	# Dummy target for tables
	@echo ''

banks: $(BANKFILES)

install: default
	$(INSTALL) -m 444 -F /usr/src/PR/demos/gng/audio/audAssets \
		$(MIDIFILES) $(INSTFILES) $(AIFF_FILES) Makefile