📄 makefile.icd
字号:
#
# 68K/386 32-bit C compiler.
#
# copyright (c) 1996, David Lindauer
#
# This compiler is intended for educational use. It may not be used
# for profit without the express written consent of the author.
#
# It may be freely redistributed, as long as this notice remains intact
# and sources are distributed along with any executables derived from them.
#
# The author is not responsible for damages, either direct or consequential,
# that may arise from use of this software.
#
# v1.75 November 1998
# David Lindauer, camille@bluegrass.net
#
# Credits to Mathew Brandt for original K&R C compiler
#
#
# This makefile is for Borland make (IBM PC/80386+)
#.AUTODEPEND
# *Translator Definitions*
#compiler defines we need to take care of eventually
#set up stack/dta and handle the 8.3 names for include files
#MSDOS = -DMSDOS
#determine if we can ignore the banner for a batch compile
#WIN32 = -DWIN32
#use long long type
#LL = -DUSE_LONGLONG
CC = bcc32 -v -c -w- -I\bc5\include;..\include -DLL $(MSDOS) $(WIN32)
ASM = tasm -ml
LIB = xlib
LINK = tlink32
SOURCE = ..\source
LIBPATH = C:\bc5\lib
.c.obj:
$(CC) $&
# *List Macros*
libfiles = args.obj ext.obj fatal.obj \
pstr.obj srchpath.obj usage.obj
miscfiles = cmain.obj symbol.obj memmgt.obj error.obj list.obj \
mangle.obj browse.obj output.obj cppbltin.obj rtti.obj
lexfiles = getsym.obj preproc.obj searchkw.obj float.obj
parsefiles = func.obj expr.obj einit.obj init.obj intexpr.obj \
stmt.obj decl.obj declass.obj types.obj friend.obj template.obj
optfiles = inline.obj optimize.obj analyze.obj
codegenfiles = iblock.obj iconf.obj icom.obj iconst.obj iexpr.obj istmt.obj \
ipeep.obj beinterf.obj
outputfiles = iout.obj
RCFILE=cc386
EXE_dependencies = $(libfiles) $(miscfiles) $(lexfiles) $(parsefiles) \
$(optfiles) $(codegenfiles) $(outputfiles)
# *Explicit Rules*
cc.exe: $(EXE_dependencies) $(RCFILE).res
$(LINK) /Tpe/ax/c/v/s /L$(LIBPATH) @&&|
c0x32.obj $(EXE_dependencies),cc.exe,cc.map,cw32.lib import32.lib,,$(RCFILE).res
|
$(RCFILE).res: $(RCFILE).rc ..\version.h
brc32 -I\bc5\include -r $(RCFILE).rc
# *Individual File Dependencies*
proftime.obj: proftime.c
$(CC) /C+N proftime
profile.obj: profile.c
$(CC) /C+N profile
srchpath.obj: $(SOURCE)\srchpath.c
$(CC) $(SOURCE)\srchpath.c
usage.obj: $(SOURCE)\usage.c
$(CC) $(SOURCE)\usage.c
args.obj: $(SOURCE)\args.c
$(CC) $(SOURCE)\args.c
ext.obj: $(SOURCE)\ext.c
$(CC) $(SOURCE)\ext.c
fatal.obj: $(SOURCE)\fatal.c
$(CC) $(SOURCE)\fatal.c
pstr.obj: $(SOURCE)\pstr.c
$(CC) $(SOURCE)\pstr.c
analyze.obj: $(SOURCE)\analyze.c
$(CC) $(SOURCE)\analyze.c
error.obj: $(SOURCE)\error.c
$(CC) $(SOURCE)\error.c
expr.obj: $(SOURCE)\expr.c
$(CC) $(SOURCE)\expr.c
init.obj: $(SOURCE)\init.c
$(CC) $(SOURCE)\init.c
optimize.obj: $(SOURCE)\optimize.c
$(CC) $(SOURCE)\optimize.c
register.obj: $(SOURCE)\register.c
$(CC) $(SOURCE)\register.c
func.obj: $(SOURCE)\func.c
$(CC) $(SOURCE)\func.c
intexpr.obj: $(SOURCE)\intexpr.c
$(CC) $(SOURCE)\intexpr.c
searchkw.obj: $(SOURCE)\searchkw.c
$(CC) $(SOURCE)\searchkw.c
list.obj: $(SOURCE)\list.c
$(CC) $(SOURCE)\list.c
stmt.obj: $(SOURCE)\stmt.c
$(CC) $(SOURCE)\stmt.c
cmain.obj: $(SOURCE)\cmain.c ..\version.h
$(CC) $(SOURCE)\cmain.c
memmgt.obj: $(SOURCE)\memmgt.c
$(CC) $(SOURCE)\memmgt.c
preproc.obj: $(SOURCE)\preproc.c
$(CC) $(SOURCE)\preproc.c
symbol.obj: $(SOURCE)\symbol.c
$(CC) $(SOURCE)\symbol.c
mangle.obj: $(SOURCE)\mangle.c
$(CC) $(SOURCE)\mangle.c
decl.obj: $(SOURCE)\decl.c
$(CC) $(SOURCE)\decl.c
declass.obj: $(SOURCE)\declass.c
$(CC) $(SOURCE)\declass.c
getsym.obj: $(SOURCE)\getsym.c
$(CC) $(SOURCE)\getsym.c
types.obj: $(SOURCE)\types.c
$(CC) $(SOURCE)\types.c
inline.obj: $(SOURCE)\inline.c
$(CC) $(SOURCE)\inline.c
version.obj: $(SOURCE)\version.c
$(CC) $(SOURCE)\version.c
invoke.obj: $(SOURCE)\invoke.c
$(CC) $(SOURCE)\invoke.c
browse.obj: $(SOURCE)\browse.c
$(CC) $(SOURCE)\browse.c
friend.obj: $(SOURCE)\friend.c
$(CC) $(SOURCE)\friend.c
iblock.obj: $(SOURCE)\iblock.c
$(CC) $(SOURCE)\iblock.c
iconf.obj: $(SOURCE)\iconf.c
$(CC) $(SOURCE)\iconf.c
icom.obj: $(SOURCE)\icom.c
$(CC) $(SOURCE)\icom.c
iconst.obj: $(SOURCE)\iconst.c
$(CC) $(SOURCE)\iconst.c
iexpr.obj: $(SOURCE)\iexpr.c
$(CC) $(SOURCE)\iexpr.c
istmt.obj: $(SOURCE)\istmt.c
$(CC) $(SOURCE)\istmt.c
iflow.obj: $(SOURCE)\iflow.c
$(CC) $(SOURCE)\iflow.c
ipeep.obj: $(SOURCE)\ipeep.c
$(CC) $(SOURCE)\ipeep.c
iout.obj: $(SOURCE)\iout.c
$(CC) $(SOURCE)\iout.c
ipointer.obj: $(SOURCE)\ipointer.c
$(CC) $(SOURCE)\ipointer.c
ireach.obj: $(SOURCE)\ireach.c
$(CC) $(SOURCE)\ireach.c
igcse.obj: $(SOURCE)\igcse.c
$(CC) $(SOURCE)\igcse.c
icopy.obj: $(SOURCE)\icopy.c
$(CC) $(SOURCE)\icopy.c
ilive.obj: $(SOURCE)\ilive.c
$(CC) $(SOURCE)\ilive.c
template.obj: $(SOURCE)\template.c
$(CC) $(SOURCE)\template.c
output.obj: $(SOURCE)\output.c
$(CC) $(SOURCE)\output.c
cppbltin.obj: $(SOURCE)\cppbltin.c
$(CC) $(SOURCE)\cppbltin.c
rtti.obj: $(SOURCE)\rtti.c
$(CC) $(SOURCE)\rtti.c
einit.obj: $(SOURCE)\einit.c
$(CC) $(SOURCE)\einit.c
beinterf.obj: $(SOURCE)\beinterf.c
$(CC) $(SOURCE)\beinterf.c
float.obj: $(SOURCE)\float.c
$(CC) $(SOURCE)\float.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -