2 # CC65 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 # ------------------------------------------------------------------------------
68 # All library OBJ files
132 LIBS = ..\common\common.lib
134 .PRECIOUS $(OBJS:.obj=.c)
136 # ------------------------------------------------------------------------------
144 # ------------------------------------------------------------------------------
148 cc65.exe: $(OBJS) $(LIBS)
149 $(LD) system $(SYSTEM) @&&|
214 LIBRARY ..\common\common.lib
218 @if exist *.obj del *.obj
219 @if exist cc65.exe del cc65.exe