-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmakefile.w16
138 lines (118 loc) · 2.99 KB
/
makefile.w16
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
# DOOM16WC.EXE makefile
# --------------------------------------------------------------------------
#
# 0 use 8088 instructions
# 2 use 286 instructions
# 3 use 386 instructions
# bt build target
# c compile only
# d1 include line number debugging information
# d2 include full sybolic debugging information
# ei force enums to be of type int
# j change char default from unsigned to signed
# mm medium memory model
# ml large memory model
# mh huge memory model
# oa relax aliasing checking
# od do not optimize
# oe[=#] expand functions inline, # = quads (default 20)
# oh repeated optimizations
# oi use the inline library functions
# ol+ loop optimizations, inclusing loop unrolling
# os optimize for space
# ot optimize for time
# ox maximum optimization
# s remove stack overflow checks
# wx maximum warning level
# zp1 align structures on bytes
# zq use quiet mode
# /i=dir add include directories
#
# --------------------------------------------------------------------------
#CCOPTSS = -oaxes -oh -ol+ -zp1 -bt=dos -0 -j -zq -s -mm -wx -za99 -DFLAT_SPAN -DC_ONLY
#CCOPTST = -oaxet -oh -ol+ -zp1 -bt=dos -0 -j -zq -s -mm -wx -za99 -DFLAT_SPAN -DC_ONLY
CCOPTSS = -oaxes -oh -ol+ -zp1 -bt=dos -2 -j -zq -s -mm -wx -za99 -DFLAT_SPAN -DC_ONLY
CCOPTST = -oaxet -oh -ol+ -zp1 -bt=dos -2 -j -zq -s -mm -wx -za99 -DFLAT_SPAN -DC_ONLY
GLOBOBJS = &
a_pcfx.obj &
a_taskmn.obj &
am_map.obj &
d_items.obj &
d_main.obj &
f_finale.obj &
f_lib.obj &
g_game.obj &
hu_stuff.obj &
i_audio.obj &
i_main.obj &
i_system.obj &
i_vmodey.obj &
info.obj &
m_cheat.obj &
m_menu.obj &
m_random.obj &
p_doors.obj &
p_enemy.obj &
p_enemy2.obj &
p_floor.obj &
p_inter.obj &
p_lights.obj &
p_map.obj &
p_maputl.obj &
p_mobj.obj &
p_plats.obj &
p_pspr.obj &
p_setup.obj &
p_sight.obj &
p_spec.obj &
p_switch.obj &
p_telept.obj &
p_tick.obj &
p_user.obj &
r_data.obj &
r_draw.obj &
r_plane.obj &
r_sky.obj &
r_things.obj &
s_sound.obj &
sounds.obj &
st_pal.obj &
st_stuff.obj &
tables.obj &
v_video.obj &
w_wad.obj &
wi_lib.obj &
wi_stuff.obj &
z_bmallo.obj &
z_zone.obj
WC16\DOOM16WC.EXE : $(GLOBOBJS)
cd WC16
wlink @..\wc16doom.lnk
cd..
.obj : WC16
.c.obj :
wcc $(CCOPTSS) $[* /fo=WC16\$^&
i_vmodey.obj : i_vmodey.c
wcc $(CCOPTST) $[* /fo=WC16\$^&
p_enemy2.obj : p_enemy2.c
wcc $(CCOPTST) $[* /fo=WC16\$^&
p_map.obj : p_map.c
wcc $(CCOPTST) $[* /fo=WC16\$^&
p_maputl.obj : p_maputl.c
wcc $(CCOPTST) $[* /fo=WC16\$^&
p_mobj.obj : p_mobj.c
wcc $(CCOPTST) $[* /fo=WC16\$^&
p_sight.obj : p_sight.c
wcc $(CCOPTST) $[* /fo=WC16\$^&
r_data.obj : r_data.c
wcc $(CCOPTST) $[* /fo=WC16\$^&
r_draw.obj : r_draw.c
wcc $(CCOPTST) $[* /fo=WC16\$^&
r_plane.obj : r_plane.c
wcc $(CCOPTST) $[* /fo=WC16\$^&
tables.obj : tables.c
wcc $(CCOPTST) $[* /fo=WC16\$^&
w_wad.obj : w_wad.c
wcc $(CCOPTST) $[* /fo=WC16\$^&
z_zone.obj : z_zone.c
wcc $(CCOPTST) $[* /fo=WC16\$^&