-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMAKEFILE
More file actions
46 lines (33 loc) · 1.27 KB
/
Copy pathMAKEFILE
File metadata and controls
46 lines (33 loc) · 1.27 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
###############################################################
### sum definitions ###
###############################################################
TARGET =
CC = wcc386
CCOPTS = -w1 -bt=dos -d2 -5r -mf -oneatmiler
CCOPTS = -w1 -bt=dos -5r -mf -oneatmiler
CCOPTS = -w1 -bt=dos -5r -mf -fpi -fp5 -oneatxl+
LINKER = wlink
LOPTS = debug all
LOPTS =
ASM = tasm
AOPTS = /ml /m2 /zd
AOPTS = /ml /m2
COMPRESS = pmwlite
COMPRESS = @%null
SYSTEM = pmodew
###############################################################
### ok, now let's go with files ###
###############################################################
T_FILES = $(TARGET).obj files.obj shutup.obj gus.obj modload.obj &
modplay.obj s3mload.obj loaders.obj
O_FILES = $(TARGET) files shutup gus modload modplay s3mload loaders
###############################################################
### rite, it's compilin^linkin' time! ###
###############################################################
$(TARGET).exe: $(T_FILES) makefile
*$(LINKER) $(LOPTS) system $(SYSTEM) file {$(O_FILES)}
$(COMPRESS) $(TARGET).exe
.c.obj
*$(CC) $(CCOPTS) $<
.asm.obj
$(ASM) $(AOPTS) $<