Makefile
1.1 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
49
#!smake -k
# --------------------------------------------------------------------
# Copyright (C) 1997 Nintendo. (Originated by SGI)
#
# $RCSfile: Makefile,v $
# $Revision: 1.1.1.1 $
# $Date: 2003/05/20 22:18:50 $
# --------------------------------------------------------------------
#
# 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