0231c98e3f
move only options which is related to the host environment not for target -zq quiet output (all) -fo=.obj set default extension for object file to .obj instead .o (Linux only)
20 lines
544 B
Makefile
20 lines
544 B
Makefile
#
|
|
# WATCOM.MAK - kernel compiler options for Open Watcom on Windows (cross-compile)
|
|
#
|
|
|
|
# Get definitions from watcom.mak, then override
|
|
include "../mkfiles/watcom.mak"
|
|
|
|
DIRSEP=\
|
|
|
|
INCLUDEPATH=$(COMPILERPATH)\h
|
|
#RM=del 2>nul
|
|
#CP=copy
|
|
#ECHOTO=echo>>
|
|
#INITPATCH=@echo > nul
|
|
CLDEF=1
|
|
CLT=wcl386 -zq -bcl=nt -I..\hdr -fe=$@ -I$(COMPILERPATH)\h -I$(COMPILERPATH)\h\nt
|
|
CLC=$(CLT)
|
|
NASMFLAGS=-DWATCOM $(NASMFLAGS)
|
|
XLINK=$(XLINK) debug all format dos opt quiet,symfile,map,statics,verbose F { $(OBJS) } L ..$(DIRSEP)lib$(DIRSEP)device.lib N kernel.exe $#
|