0e8b739c4c
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@343 6ac86273-5f31-0410-b378-82cca8765d1b
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
#
|
|
# MSCL8.MAK - kernel copiler options for MS CL8 = MSVC1.52
|
|
#
|
|
|
|
# Use these for MSCV 1.52
|
|
COMPILERPATH=$(MS_BASE)
|
|
COMPILERBIN=$(COMPILERPATH)\bin
|
|
INCLUDEPATH=$(COMPILERPATH)\include
|
|
CC=$(COMPILERBIN)\cl
|
|
CFLAGST=/Fm /AT /Os /Zp1
|
|
CFLAGSC=/Fm /AL /Os /Zp1
|
|
LIBPATH=$(COMPILERPATH)\lib
|
|
LIB=$(COMPILERPATH)\lib
|
|
INCLUDE=$(COMPILERPATH)\include
|
|
LIBUTIL=$(COMPILERBIN)\lib /nologo
|
|
LIBPLUS=+
|
|
LIBTERM=;
|
|
INCLUDE=$(COMPILERPATH)\include
|
|
LIB=$(COMPILERPATH)\lib
|
|
|
|
# used for building the library
|
|
|
|
CLIB=$(COMPILERPATH)\lib\slibce.lib
|
|
MATH_EXTRACT=*aflmul *aFlshl *aFNauldi *aFulrem *aFulshr *aFuldiv *aFlrem *aFldiv
|
|
MATH_INSERT= +aflmul +aFlshl +aFNauldi +aFulrem +aFulshr +aFuldiv +aFlrem +aFldiv
|
|
|
|
TARGETOPT=
|
|
!if $(XCPU) == 186
|
|
TARGETOPT=-G1
|
|
!endif
|
|
!if $(XCPU) == 386
|
|
TARGETOPT=-G3
|
|
!endif
|
|
|
|
TARGET=KMS
|
|
|
|
#
|
|
# heavy stuff - building
|
|
|
|
|
|
ALLCFLAGS=-I..\hdr $(TARGETOPT) $(ALLCFLAGS) -nologo -Zl -Fc -WX -Gr -f- -Os -Gs -Ob1 -OV4 -Gy -Oe -Zp1
|
|
|
|
INITCFLAGS=$(ALLCFLAGS) -NTINIT_TEXT -AT
|
|
CFLAGS=$(ALLCFLAGS) -NTHMA_TEXT
|
|
INITPATCH = ..\utils\patchobj CODE=INIT _DATA=IDATA DATA=ID BSS=ID DGROUP=I_GROUP CONST=IC
|
|
STDPATCH = ..\utils\patchobj CODE=HMA CONST=DCONST
|