make.ini
来自「国外网站上的一些精典的C程序」· INI 代码 · 共 191 行
INI
191 行
## Master MAKE.INI file for NDMAKE## jim nutt# 'the computer handyman'#.SUFFIXES : .doc .exe .prf .obj .cpp .c .a86 .asm .com .a86## generate response files for these as well as lib and link#.RESPONSE_LINK: tlink blink ztcmap.RESPONSE_LIB: tlib zorlibVPATH = .;c:\include;MAKE_TMP= $(TMP)## some defaults#project =obj =cc = ztcmcflags = $p $s $wcflags =## zortech c settings#ztclib = c:\lib\$(cc) # where are the librariesztcinclude = c:\include\$(cc)ztclibrary = $(lib)\zl$(model)ztccompile = $(cc) -c -m$(options)ztcoptions = $(model) $(mcflags) -I$(include) -ic:\includeztcstartup =ztcwild =ztcscheck = -sztcpcheck =ztcalign = -aztcunsigned= -Jztccodeview= -gztcmaxwarnings= -p -rztcinline = -fztcoptimize= -o+all -o+loopztcmodel = -mztcdefine = -dztcstdc = -A## quick c settings#qcllib = c:\lib\mscqclinclude = c:\include\mscqcllibrary = $(lib)\$(model)libcr $(lib)\libhqclcompile = qcl /c /X /Zl /A$(options) /D__MSC__=1qcloptions = $(model) $(mcflags) /I$(include)qclstartup =qclwild =qclscheck =qclpcheck = /Zrqclalign = /Zpqclunsigned=qclcodeview= /Ziqclmaxwarnings = /W3qclinline = /FPi87qcloptimize= /Oxqclmodel = /Aqcldefine = /Dqclstdc = /Za## msc 5.1 settings#msclib = c:\lib\mscmscinclude = c:\include\$(cc)msclibrary = $(lib)\$(model)libcr $(lib)\libhmsccompile = cl /c /X /Zl /A$(options) /D__MSC__=1mscoptions = $(model) $(mcflags) /I$(include) /Ic:\includemscstartup =mscwild =mscscheck =mscpcheck =mscalign = /Zpmscunsigned=msccodeview= /Zimscmaxwarnings = /W3mscinline = /FPi87mscoptimize= /Owiltmscmodel = /Amscdefine = /Dmscstdc = /Za## turbo c settings#tcclib = c:\lib\$(cc) # where are the librariestccinclude = c:\include\$(cc)tcclibrary = $(lib)\c$(model)tcccompile = $(cc) -c -m$(options)tccoptions = $(model) $(mcflags) -I$(include)tccstartup = $(lib)\c0$(model)tccwild =tccscheck = -Ntccpcheck =tccalign = -a-tccunsigned= -Ktcccodeview= -ytccmaxwarnings = -w -w-stvtccinline = -f87tccmodel = -mtccdefine = -Dtccoptimize= -O -G -rtccstdc = -Alib = $($(cc)lib)include = $($(cc)include)library = $($(cc)library)cxl = $(lib)\cxl$(model)options = $($(cc)options)compile = $($(cc)compile) $(cflags)startup = $($(cc)startup)wild = $($(cc)wild)libs = $(library)# compiler optionsa = $($(cc)align) # byte align structuresc = $($(cc)codeview) # codeview debugging (if avail, else symdeb)d = $($(cc)define) # command line #definei = $($(cc)inline) # inline 8087 code generationm = $($(cc)model) # memory model selectionp = $($(cc)pcheck) # pointer checking (if available)s = $($(cc)scheck) # turn on stack checkingu = $($(cc)unsigned) # chars are unsignedo = $($(cc)optimize) # do max optimizationsw = $($(cc)maxwarnings) # give maximum warningsstdc = $($(cc)stdc) # use ANSI standard keywords onlymodel = S# the linkerlinkopt = /noilinker = link# an easy linking macroslinklst = $($(project)obj),$(project),$(project),$(libs) $(linkopt);link = $(linker) $(wild) $(startup) $(linklst)# default rulesmarkfile : calltree -z markfile *.c.c.exe : .c.obj $(linker) $(wild) $(startup) $*, $* ,$* ,$(libs) $(linkopt);.obj.exe : $(link).c.obj : $(compile) $*.c.cpp.obj : $(cc) $*.asm.obj : masm $*;.a86.obj : a86 +o +s $*.a86 $*.obj.a86.com : a86 $*.a86.a86.exe : a86 +o +s $*.a86 link $*;.prf.doc : proff $*.prf $*.doc
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?