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
56 # ------------------------------------------------------------------------------
63 # ------------------------------------------------------------------------------
86 LIBS = ..\common\common.lib
89 # ------------------------------------------------------------------------------
97 # ------------------------------------------------------------------------------
101 ld65.exe: $(OBJS) $(LIBS)
102 $(LD) system $(SYSTEM) @&&|
125 LIBRARY ..\common\common.lib
129 @if exist *.obj del *.obj
130 @if exist *.obj del ld65.exe