makefile
来自「开放源码的编译器open watcom 1.6.0版的源代码」· 代码 · 共 46 行
TXT
46 行
plustest_name = claslist
!include ..\environ.mif
!ifdef test1
test_cflags_386 = -d2~
test_cflags_i86 = -d2~
test_cflags_axp = -d2~
!else
test_cflags_386 = -ox-d1
test_cflags_i86 = -ox-d1
test_cflags_axp = -ox-d1
!endif
test_cflags_386 += -zq-mf
test_cflags_i86 += -zq-mc
test_cflags_axp += -zq
stack_386=opt stack=8k
stack_i86=opt stack=4k
stack_axp=opt stack=8k
.c.obj:
$(wpp_$(arch)) $[@ $(test_cflags_$(arch))
objs = pcfistt.obj
test : .symbolic pcfistt.$(exe)
$(run) pcfistt >pcfistt.out
diff pcfistt.out pcfist.chk
%make global
%append $(log_file) PASS $(%__CWD__)
pcfistt.$(exe) : $(objs) pcfistt.lnk
$(linker) @$]@
pcfistt.lnk : makefile
%create $^@
@%append $^@ NAME $^*
@%append $^@ DEBUG line
@%append $^@ $(lnk_$(arch))
@%append $^@ $(stack_$(arch))
@for %i in ( $(objs) ) do @%append $^@ FILE %i
global : .SYMBOLIC
@%make common_clean
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?