54 lines
1.4 KiB
Makefile
54 lines
1.4 KiB
Makefile
|
#
|
|||
|
# TC3.MAK - kernel copiler options for Turbo C 3.0
|
|||
|
#
|
|||
|
|
|||
|
# Use these for Turbo C 3.0
|
|||
|
|
|||
|
COMPILERPATH=$(TC3_BASE)
|
|||
|
COMPILERBIN=$(COMPILERPATH)\bin
|
|||
|
CC=$(COMPILERBIN)\tcc
|
|||
|
CFLAGST=-mt -lt -a- -k- -f- -ff- -O -Z -d
|
|||
|
CFLAGSC=-a- -mc
|
|||
|
INCLUDEPATH=$(COMPILERPATH)\include
|
|||
|
LIBUTIL=$(COMPILERBIN)\tlib
|
|||
|
LIBPATH=$(COMPILERPATH)\lib
|
|||
|
LIBTERM=
|
|||
|
LIBPLUS=+
|
|||
|
|
|||
|
TARGET=KT3
|
|||
|
|
|||
|
# used for building the library
|
|||
|
|
|||
|
CLIB=$(COMPILERPATH)\lib\cs.lib
|
|||
|
MATH_EXTRACT=*H_LDIV *H_LLSH *H_LURSH *N_LXMUL *F_LXMUL *H_LRSH
|
|||
|
MATH_INSERT=+H_LDIV +H_LLSH +H_LURSH +N_LXMUL +F_LXMUL +H_LRSH
|
|||
|
|
|||
|
#
|
|||
|
# heavy stuff - building the kernel
|
|||
|
# Compiler and Options for Borland C++
|
|||
|
# ------------------------------------
|
|||
|
#
|
|||
|
# -zAname <20> <20> Code class
|
|||
|
# -zBname <20> <20> BSS class
|
|||
|
# -zCname <20> <20> Code segment
|
|||
|
# -zDname <20> <20> BSS segment
|
|||
|
# -zEname <20> <20> Far segment
|
|||
|
# -zFname <20> <20> Far class
|
|||
|
# -zGname <20> <20> BSS group
|
|||
|
# -zHname <20> <20> Far group
|
|||
|
# -zPname <20> <20> Code group
|
|||
|
# -zRname <20> <20> Data segment
|
|||
|
# -zSname <20> <20> Data group
|
|||
|
# -zTname <20> <20> Data class
|
|||
|
# -zX <20><><EFBFBD> Use default name for "X"
|
|||
|
|
|||
|
#
|
|||
|
# ALLCFLAGS specified by turbo.cfg and config.mak
|
|||
|
#
|
|||
|
ALLCFLAGS = $(TARGETOPT) $(ALLCFLAGS)
|
|||
|
INITCFLAGS = $(ALLCFLAGS) -zAINIT -zCINIT_TEXT -zDIB -zRID -zTID -zPIGROUP -zBIB -zGIGROUP -zSIGROUP
|
|||
|
CFLAGS = $(ALLCFLAGS) -zAHMA -zCHMA_TEXT
|
|||
|
DYNCFLAGS = $(ALLCFLAGS) -zRDYN_DATA -zTDYN_DATA -zDDYN_DATA -zBDYN_DATA
|
|||
|
IPRFCFLAGS = $(INITCFLAGS) -oiprf.obj
|
|||
|
|