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
514 B
Makefile
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 $#
|