FreeDOS/mkfiles/tcpp.mak

43 lines
1023 B
Makefile
Raw Normal View History

#
# TCPP.MAK - kernel compiler options for Turbo C++ 1.01
#
TARGET=KTP
CC=$(BINPATH)\tcc -c
CL=$(BINPATH)\tcc
# used for building the library
CLIB=$(LIBPATH)\cs.lib
MATH_EXTRACT=*H_LDIV *H_LLSH *H_LURSH *F_LXMUL
MATH_INSERT =+H_LDIV +H_LLSH +H_LURSH +F_LXMUL
#
# Compiler options for Turbo/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"
#
# Common options specified in turboc.cfg instead ALLCFLAGS
#
ALLCFLAGS=-I..\hdr;$(INCLUDEPATH) $(CPUOPT) $(ALLCFLAGS)
INITCFLAGS=@tci.cfg
CFLAGST=-I..\hdr;$(INCLUDEPATH) -L$(LIBPATH) -mt -lt
CFLAGSC=-I..\hdr;$(INCLUDEPATH) -L$(LIBPATH) -mc