2 # ld65 Makefile for the Watcom compiler
5 # ------------------------------------------------------------------------------
9 .SUFFIXES .ASM .C .CC .CPP
23 # target specific macros.
26 # --------------------- OS2 ---------------------
29 CCCFG = -bt=$(TARGET) -d1 -onatx -zp4 -5 -zq -w2
31 !elif $(TARGET)==DOS32
33 # -------------------- DOS4G --------------------
36 CCCFG = -bt=$(TARGET) -d1 -onatx -zp4 -5 -zq -w2
40 # --------------------- DOS ---------------------
43 CCCFG = -bt=$(TARGET) -d1 -onatx -zp2 -2 -ml -zq -w2
47 # --------------------- NT ----------------------
50 CCCFG = -bt=$(TARGET) -d1 -onatx -zp4 -5 -zq -w2
57 CCCFG = $(CCCFG) -i=..\common
60 # ------------------------------------------------------------------------------
67 # ------------------------------------------------------------------------------
92 LIBS = ..\common\common.lib
95 # ------------------------------------------------------------------------------
103 # ------------------------------------------------------------------------------
107 ld65.exe: $(OBJS) $(LIBS)
108 $(LD) system $(SYSTEM) @&&|
133 LIBRARY ..\common\common.lib
137 @if exist *.obj del *.obj
138 @if exist *.obj del ld65.exe