-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmake16.mk
More file actions
66 lines (58 loc) · 1.47 KB
/
Copy pathmake16.mk
File metadata and controls
66 lines (58 loc) · 1.47 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# V95bench.EXE makefile
# --------------------------------------------------------------------------
#
# 4r use 80486 timings and register argument passing
# 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
# oa relax aliasing checking
# od do not optimize
# oe[=#] expand functions inline, # = quads (default 20)
# oi use the inline library functions
# om generate inline 80x87 code for math functions
# ot optimize for time
# ox maximum optimization
# s remove stack overflow checks
# zp1 align structures on bytes
# zq use quiet mode
# /i=dir add include directories
#
# --------------------------------------------------------------------------
# Build options for 8088/8086
CCOPTS = $(EXTERNOPT) -omaxet -oh -ol+ -zp4 -0 -ei -j -zq -fpi
GLOBOBJS = &
timer.obj &
file.obj &
messages.obj &
mode1.obj &
mode3.obj &
mode4.obj &
modeC16.obj &
modeV16.obj &
mode6.obj &
mode7.obj &
mode8.obj &
mode9.obj &
modeA.obj &
mode13.obj &
modeY.obj &
modeD.obj &
modeE.obj &
mode10.obj &
modePCP.obj &
modeHGC.obj &
modeATI.obj &
main.obj
v95_16.exe : $(GLOBOBJS)
wlink @v95_16.lnk
.c.obj :
wcc $(CCOPTS) -fo=$[*.obj $[*.c
DELCMD = del
clean : .SYMBOLIC
$(DELCMD) *.exe
$(DELCMD) *.map
$(DELCMD) *.err
$(DELCMD) *.obj
$(DELCMD) *.sym