2 # da65 Makefile for the Watcom compiler (using GNU make)
5 # ------------------------------------------------------------------------------
12 # --------------------- OS2 ---------------------
16 CFLAGS = -bt=$(TARGET) -d1 -onatx -zp4 -5 -zq -w2
19 # -------------------- DOS4G --------------------
20 ifeq ($(TARGET),DOS32)
23 CFLAGS = -bt=$(TARGET) -d1 -onatx -zp4 -5 -zq -w2
26 # --------------------- NT ----------------------
30 CFLAGS = -bt=$(TARGET) -d1 -onatx -zp4 -5 -zq -w2
34 CFLAGS += -i=..\common
36 # ------------------------------------------------------------------------------
43 # ------------------------------------------------------------------------------
64 LIBS = ..\common\common.lib
67 # ------------------------------------------------------------------------------
75 # ------------------------------------------------------------------------------
79 da65.exe: $(OBJS) $(LIBS)
80 @echo DEBUG ALL > $(LNKCFG)
81 @echo OPTION QUIET >> $(LNKCFG)
82 @echo NAME $@ >> $(LNKCFG)
83 @for %%i in ($(OBJS)) do echo FILE %%i >> $(LNKCFG)
84 @for %%i in ($(LIBS)) do echo LIBRARY %%i >> $(LNKCFG)
85 $(LD) system $(SYSTEM) @$(LNKCFG)
89 @if exist *.obj del *.obj
90 @if exist *.obj del da65.exe