# for use with Open Watcom Wmake ASM = WASM.EXE LINK = WLINK.EXE COPY = copy /Z # COM = 1 !ifndef COM ASMFLAGS = -ml -2 -w4 LFLAGS= system dos op map !else ASMFLAGS = -mt -2 -w4 LFLAGS= system com op map !endif all: lSwitchd.exe lSwitchd.exe: switchde.obj makefile wlink $(LFLAGS) name lSwitchd.exe file switchde.obj $(COPY) *.exe *.map ..\bin switchde.obj: switchde.asm makefile $(ASM) $(ASMFLAGS) $*.asm clean:: .symbolic -$(ERASE) *.obj /s -$(ERASE) *.lib /s -$(ERASE) *.exe /s -$(ERASE) *.res /s -$(ERASE) *.err /s -$(ERASE) *.dll /s -$(ERASE) *.map /s -$(ERASE) *.sym /s -$(ERASE) *.xqs /s -$(ERASE) *.*~ /s -$(ERASE) *~ /s