FreeDOS/mkfiles/owwin.mak
lpproj 0c6be32a7a Add cross-compile capability on Windows with OpenWatcom and mingw32-make
(Remove dependance on 16bit DOS executables when building)
2014-11-22 11:38:43 +09:00

22 lines
584 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)$(DIRSEP)h
#RM=del 2>nul
#CP=copy
#ECHOTO=echo>>
#INITPATCH=@echo > nul
CLDEF=1
CLT=owcc -DDOSC_TIME_H -DBUILD_UTILS -I../hdr -o $@
CLC=$(CLT)
CFLAGST=-fo=.obj $(CFLAGST)
ALLCFLAGS=-fo=.obj $(ALLCFLAGS)
NASMFLAGS=-Dowlinux $(NASMFLAGS)
XLINK=$(XLINK) debug all op symfile format dos option map,statics,verbose F { $(OBJS) } L ..$(DIRSEP)lib$(DIRSEP)device.lib N kernel.exe $#