]> 4ch.mooo.com Git - 16.git/blob - 16/sod8086/makefile.wl6
added a simpler mmtest.c
[16.git] / 16 / sod8086 / makefile.wl6
1 .AUTODEPEND\r
2 \r
3 .PATH.obj = OBJ\r
4 \r
5 #               *Translator Definitions*\r
6 CC = bcc +WOLF3D.CFG\r
7 TASM = TASM\r
8 TLIB = tlib\r
9 TLINK = tlink\r
10 LIBPATH = C:\z\BORLANDC\LIB\r
11 INCLUDEPATH = C:\z\BORLANDC\INCLUDE\r
12 \r
13 \r
14 #               *Implicit Rules*\r
15 .c.obj:\r
16   $(CC) -c {$< }\r
17 \r
18 .cpp.obj:\r
19   $(CC) -c {$< }\r
20 \r
21 #               *List Macros*\r
22 \r
23 \r
24 EXE_dependencies =  \\r
25  obj\c0.obj \\r
26  h_ldiv.obj \\r
27  wolfhack.obj \\r
28  whack_a.obj \\r
29  wl_asm.obj \\r
30  wl_main.obj \\r
31  wl_text.obj \\r
32  wl_menu.obj \\r
33  wl_inter.obj \\r
34  wl_game.obj \\r
35  wl_play.obj \\r
36  wl_debug.obj \\r
37  wl_draw.obj \\r
38  wl_dr_a.obj \\r
39  wl_scale.obj \\r
40  wl_state.obj \\r
41  wl_agent.obj \\r
42  wl_act1.obj \\r
43  wl_act2.obj \\r
44  obj\signon.obj \\r
45  obj\gamepal.obj \\r
46  id_ca.obj \\r
47  id_in.obj \\r
48  id_mm.obj \\r
49  id_pm.obj \\r
50  id_sd.obj \\r
51  id_sd_a.obj \\r
52  id_us_1.obj \\r
53  id_us_a.obj \\r
54  id_vl.obj \\r
55  id_vh.obj \\r
56  id_vl_a.obj \\r
57  id_vh_a.obj\r
58 \r
59 #               *Explicit Rules*\r
60 obj\wolf3d.exe: wolf3d.cfg $(EXE_dependencies)\r
61   $(TLINK) /s/c/P-/L$(LIBPATH) @&&|\r
62 obj\c0.obj+\r
63 obj\h_ldiv.obj+\r
64 obj\wolfhack.obj+\r
65 obj\whack_a.obj+\r
66 obj\wl_asm.obj+\r
67 obj\wl_main.obj+\r
68 obj\wl_text.obj+\r
69 obj\wl_menu.obj+\r
70 obj\wl_inter.obj+\r
71 obj\wl_game.obj+\r
72 obj\wl_play.obj+\r
73 obj\wl_debug.obj+\r
74 obj\wl_draw.obj+\r
75 obj\wl_dr_a.obj+\r
76 obj\wl_scale.obj+\r
77 obj\wl_state.obj+\r
78 obj\wl_agent.obj+\r
79 obj\wl_act1.obj+\r
80 obj\wl_act2.obj+\r
81 obj\signon.obj+\r
82 obj\gamepal.obj+\r
83 obj\id_ca.obj+\r
84 obj\id_in.obj+\r
85 obj\id_mm.obj+\r
86 obj\id_pm.obj+\r
87 obj\id_sd.obj+\r
88 obj\id_sd_a.obj+\r
89 obj\id_us_1.obj+\r
90 obj\id_us_a.obj+\r
91 obj\id_vl.obj+\r
92 obj\id_vh.obj+\r
93 obj\id_vl_a.obj+\r
94 obj\id_vh_a.obj\r
95 obj\wolf3d,obj\wolf3d\r
96 emu.lib+\r
97 mathm.lib+\r
98 cm.lib\r
99 |\r
100 \r
101 \r
102 #               *Individual File Dependencies*\r
103 obj\c0.obj: wolf3d.cfg c0.asm \r
104         $(TASM) /MX /ZI /O /D__MEDIUM__ C0.ASM,OBJ\C0.OBJ\r
105 \r
106 h_ldiv.obj: wolf3d.cfg h_ldiv.asm \r
107         $(TASM) /MX /ZI /O H_LDIV.ASM,OBJ\H_LDIV.OBJ /d__MEDIUM__\r
108 \r
109 wolfhack.obj: wolf3d.cfg wolfhack.c \r
110 \r
111 whack_a.obj: wolf3d.cfg whack_a.asm \r
112         $(TASM) /MX /ZI /O WHACK_A.ASM,OBJ\WHACK_A.OBJ\r
113 \r
114 wl_asm.obj: wolf3d.cfg wl_asm.asm \r
115         $(TASM) /MX /ZI /O WL_ASM.ASM,OBJ\WL_ASM.OBJ\r
116 \r
117 wl_main.obj: wolf3d.cfg wl_main.c \r
118 \r
119 wl_text.obj: wolf3d.cfg wl_text.c \r
120 \r
121 wl_menu.obj: wolf3d.cfg wl_menu.c \r
122 \r
123 wl_inter.obj: wolf3d.cfg wl_inter.c \r
124 \r
125 wl_game.obj: wolf3d.cfg wl_game.c \r
126 \r
127 wl_play.obj: wolf3d.cfg wl_play.c \r
128 \r
129 wl_debug.obj: wolf3d.cfg wl_debug.c \r
130 \r
131 wl_draw.obj: wolf3d.cfg wl_draw.c \r
132 \r
133 wl_dr_a.obj: wolf3d.cfg wl_dr_a.asm \r
134         $(TASM) /MX /ZI /O WL_DR_A.ASM,OBJ\WL_DR_A.OBJ\r
135 \r
136 wl_scale.obj: wolf3d.cfg wl_scale.c \r
137 \r
138 wl_state.obj: wolf3d.cfg wl_state.c \r
139 \r
140 wl_agent.obj: wolf3d.cfg wl_agent.c \r
141 \r
142 wl_act1.obj: wolf3d.cfg wl_act1.c \r
143 \r
144 wl_act2.obj: wolf3d.cfg wl_act2.c \r
145 \r
146 id_ca.obj: wolf3d.cfg id_ca.c \r
147 \r
148 id_in.obj: wolf3d.cfg id_in.c \r
149 \r
150 id_mm.obj: wolf3d.cfg id_mm.c \r
151 \r
152 id_pm.obj: wolf3d.cfg id_pm.c \r
153 \r
154 id_sd.obj: wolf3d.cfg id_sd.c \r
155 \r
156 id_sd_a.obj: wolf3d.cfg id_sd_a.asm \r
157         $(TASM) /MX /ZI /O ID_SD_A.ASM,OBJ\ID_SD_A.OBJ\r
158 \r
159 id_us_1.obj: wolf3d.cfg id_us_1.c \r
160 \r
161 id_us_a.obj: wolf3d.cfg id_us_a.asm \r
162         $(TASM) /MX /ZI /O ID_US_A.ASM,OBJ\ID_US_A.OBJ\r
163 \r
164 id_vl.obj: wolf3d.cfg id_vl.c \r
165 \r
166 id_vh.obj: wolf3d.cfg id_vh.c \r
167 \r
168 id_vl_a.obj: wolf3d.cfg id_vl_a.asm \r
169         $(TASM) /MX /ZI /O ID_VL_A.ASM,OBJ\ID_VL_A.OBJ\r
170 \r
171 id_vh_a.obj: wolf3d.cfg id_vh_a.asm \r
172         $(TASM) /MX /ZI /O ID_VH_A.ASM,OBJ\ID_VH_A.OBJ\r
173 \r
174 #               *Compiler Configuration File*\r
175 wolf3d.cfg: makefile.wl6\r
176   copy &&|\r
177 -mm\r
178 -3\r
179 -a\r
180 -ff-\r
181 -G\r
182 -O\r
183 -Og\r
184 -Oe\r
185 -Om\r
186 -Ov\r
187 -Ol\r
188 -Ob\r
189 -Op\r
190 -Oi\r
191 -Z\r
192 -d\r
193 -H=WOLF3D.SYM\r
194 -Fc\r
195 -weas\r
196 -wpre\r
197 -nOBJ\r
198 -I$(INCLUDEPATH)\r
199 -L$(LIBPATH)\r
200 -P-.C\r
201 | wolf3d.cfg\r
202 \r
203 \r