forked from bisqwit/adlmidi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make.rules
138 lines (124 loc) · 3.89 KB
/
make.rules
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
VERSION=1.2.6.2
ARCHNAME=adlmidi-$(VERSION)
ARCHDIR=archives/
NOGZIPARCHIVES=1
ARCHFILES=\
src/midiplay.cc \
src/dbopl.cpp src/dbopl.h \
src/adldata.cc src/adldata.hh \
src/fraction \
src/puzzlegame.inc \
src/9x15.inc \
\
utils/dumpbank.cc \
utils/dumpmiles.cc \
utils/gen_adldata.cc \
\
doc/midiplay.bas \
progdesc.php \
make.rules \
\
fm_banks/bnk_files/drum.bnk \
fm_banks/bnk_files/file131.bnk \
fm_banks/bnk_files/file132.bnk \
fm_banks/bnk_files/file133.bnk \
fm_banks/bnk_files/file134.bnk \
fm_banks/bnk_files/file142.bnk \
fm_banks/bnk_files/file143.bnk \
fm_banks/bnk_files/file144.bnk \
fm_banks/bnk_files/file145.bnk \
fm_banks/bnk_files/file159.bnk \
fm_banks/bnk_files/file167.bnk \
fm_banks/bnk_files/file168.bnk \
fm_banks/bnk_files/hamdrum.bnk \
fm_banks/bnk_files/hammelo.bnk \
fm_banks/bnk_files/intdrum.bnk \
fm_banks/bnk_files/intmelo.bnk \
fm_banks/bnk_files/melodic.bnk \
fm_banks/bnk_files/rickdrum.bnk \
fm_banks/bnk_files/rickmelo.bnk \
fm_banks/bnk_files/d2drum.bnk \
fm_banks/bnk_files/d2melo.bnk \
fm_banks/bnk_files/normdrum.bnk \
fm_banks/bnk_files/normmelo.bnk \
fm_banks/bnk_files/ssdrum.bnk \
fm_banks/bnk_files/ssmelo.bnk \
fm_banks/doom2/genmidi.htc \
fm_banks/doom2/genmidi.op2 \
fm_banks/doom2/default.op2 \
fm_banks/ibk_files/game.ibk \
fm_banks/ibk_files/mt_fm.ibk \
fm_banks/ibk_files/soccer-genmidi.ibk \
fm_banks/ibk_files/soccer-percs.ibk \
fm_banks/ibk_files/nitemare_3d.ibk \
fm_banks/op3_files/fat2.op3 \
fm_banks/op3_files/fat4.op3 \
fm_banks/op3_files/jv_2op.op3 \
fm_banks/op3_files/wallace.op3 \
fm_banks/opl_files/file12.opl \
fm_banks/opl_files/file13.opl \
fm_banks/opl_files/file15.opl \
fm_banks/opl_files/file16.opl \
fm_banks/opl_files/file17.opl \
fm_banks/opl_files/file19.opl \
fm_banks/opl_files/file20.opl \
fm_banks/opl_files/file21.opl \
fm_banks/opl_files/file23.opl \
fm_banks/opl_files/file24.opl \
fm_banks/opl_files/file25.opl \
fm_banks/opl_files/file26.opl \
fm_banks/opl_files/file27.opl \
fm_banks/opl_files/file29.opl \
fm_banks/opl_files/file30.opl \
fm_banks/opl_files/file31.opl \
fm_banks/opl_files/file32.opl \
fm_banks/opl_files/file34.opl \
fm_banks/opl_files/file35.opl \
fm_banks/opl_files/file36.opl \
fm_banks/opl_files/file37.opl \
fm_banks/opl_files/file41.opl \
fm_banks/opl_files/file42.opl \
fm_banks/opl_files/file47.opl \
fm_banks/opl_files/file48.opl \
fm_banks/opl_files/file49.opl \
fm_banks/opl_files/file50.opl \
fm_banks/opl_files/file53.opl \
fm_banks/opl_files/file54.opl \
fm_banks/opl_files/sample.ad \
fm_banks/opl_files/sample.opl \
fm_banks/opl_files/sc3.opl \
fm_banks/opl_files/simfarm.ad \
fm_banks/opl_files/simfarm.opl \
fm_banks/opl_files/warcraft.ad \
fm_banks/opl_files/nemesis.opl \
fm_banks/opl_files/nhlpa.opl \
fm_banks/tmb_files/d3dtimbr.tmb \
fm_banks/tmb_files/swtimbr.tmb \
fm_banks/tmb_files/bloodtmb.tmb \
fm_banks/raptor/genmidi.op2 \
fm_banks/misc_files/cartooners-adlib-decrypted.dat \
\
obj/.keep
INSTALLPROGS=adlmidi
all: adlmidi gen_adldata dumpmiles dumpbank
adlmidi: obj/midiplay.o obj/dbopl.o obj/adldata.o
$(CXXLINK) $^ $(DEBUG) $(SDL) -o $@ $(LDLIBS)
obj/midiplay.o: src/midiplay.cc src/dbopl.h src/adldata.hh
$(CXX) $(CPPFLAGS) $< $(DEBUG) $(SDL) -c -o $@
obj/dbopl.o: src/dbopl.cpp src/dbopl.h
$(CXX) $(CPPFLAGS) $< $(DEBUG) -c -o $@
obj/adldata.o: src/adldata.cc src/adldata.hh
$(CXX) $(CPPFLAGS) $< $(DEBUG) -c -o $@
gen_adldata: obj/gen_adldata.o obj/dbopl.o
$(CXXLINK) $^ $(DEBUG) -o $@ $(LDLIBS)
obj/gen_adldata.o: utils/gen_adldata.cc src/dbopl.h
$(CXX) $(CPPFLAGS) -I./src $< $(DEBUG) -c -o $@
dumpmiles: obj/dumpmiles.o
$(CXXLINK) $^ $(DEBUG) -o $@ $(LDLIBS)
obj/dumpmiles.o: utils/dumpmiles.cc
$(CXX) $(CPPFLAGS) $< $(DEBUG) -c -o $@
dumpbank: obj/dumpbank.o
$(CXXLINK) $^ $(DEBUG) -o $@ $(LDLIBS)
obj/dumpbank.o: utils/dumpbank.cc
$(CXX) $(CPPFLAGS) $< $(DEBUG) -c -o $@
include depfun.mak