FreeDOS/mkfiles/owlinux.mak
Jiri Malak 0231c98e3f ow-build: add global compiler control option to CC and CL macros
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)
2024-07-15 08:03:18 -04:00

20 lines
514 B
Makefile

#
# WATCOM.MAK - kernel compiler options for Open Watcom on Linux (cross-compile)
#
# Get definitions from watcom.mak, then override
include "../mkfiles/watcom.mak"
DIRSEP=/
CC=$(CC) -fo=.obj
CL=$(CL) -fo=.obj
INCLUDEPATH=$(COMPILERPATH)/h
RM=rm -f
CP=cp
ECHOTO=echo>>
INITPATCH=@echo > /dev/null
CLDEF=1
CLT=wcl386 -zq -fo=.obj -bcl=linux -I../hdr -fe=$@ -I$(COMPILERPATH)/lh
CLC=$(CLT)
XLINK=$(XLINK) debug all format dos opt quiet,symfile,map,statics,verbose F { $(OBJS) } L ../lib/device.lib N kernel.exe $#