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
56 # ------------------------------------------------------------------------------
63 # ------------------------------------------------------------------------------
64 # All library OBJ files
101 LIBS = ..\common\common.lib
103 .PRECIOUS $(OBJS:.obj=.c)
105 # ------------------------------------------------------------------------------
113 # ------------------------------------------------------------------------------
117 cc65.exe: $(OBJS) $(LIBS)
118 $(LD) system $(SYSTEM) @&&|
156 LIBRARY ..\common\common.lib
160 @if exist *.obj del *.obj
161 @if exist cc65.exe del cc65.exe