-
Notifications
You must be signed in to change notification settings - Fork 0
/
MAKEFILE
43 lines (34 loc) · 1.13 KB
/
MAKEFILE
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
# =============================================================================
# Project makefile
# =============================================================================
# Settings - Edit the names of the object and executable files.
ASM = tasm
LINK = wlink
# use TASM with debug info (stripped anyway by wlink if not used)
AFLAGS = /ml /m2 /w0 /z /zi /t
LFLAGS = option quiet system pmodew name $@ file
lib = OBJ\KEYB.OBJ OBJ\FILE.OBJ OBJ\STD.OBJ
view = OBJ\DRAW.OBJ
model = OBJ\LOGIC.OBJ
controler = OBJ\MAIN.OBJ
objs = $(lib) $(model) $(view) $(controler)
dest = PORTAL.EXE
# =============================================================================
# Do NOT edit this section, unless you know what you are doing.
# =============================================================================
.asm: LIB/
.asm: MODEL/
.asm: VIEW/
.asm: CTRLR/
.asm.obj:
del $@
$(ASM) $(AFLAGS) $< $@
$(dest): $(objs)
$(LINK) $(LFLAGS) OBJ\*.obj
clean: .symbolic
del OBJ\*.obj
del $(dest)
.silent
debug: $(objs) .symbolic
wlink debug watcom all option quiet system pmodew name $(dest) file OBJ\*.obj
wd /tr=rsi /li=43 $(dest)