upd01

来自「开放源码的编译器open watcom 1.6.0版的源代码」· 代码 · 共 45 行

TXT
45
字号
#
#   wmake regression tests
#
#
#   12-Feb-90   D.J.Gaudet      Initial Implementation
#


#
#   test implicit rules across multiple (non-existing) targets
#

wk = @wtouch

.extensions:
.extensions: .ee .dd .cc .bb .aa

.aa.bb:
    $(wk) $[*.bb

.bb.cc:
    $(wk) $[*.cc

.cc.dd:
    $(wk) $[*.dd

.dd.ee:
    $(wk) $[*.ee


#
#   We use first/last instead of .BEFORE/.AFTER to ensure that the commands
#   for first/last are executed.  (.BEFORE/.AFTER are not necessarily exec'd)
#
all: first upd01xa.ee last  .symbolic
    @%null

first: .symbolic
    @-if exist upd01x*.* @rm upd01x*.* # Handled internally, not by shell.
    @wtouch upd01xa.aa

last: .symbolic
    @rm upd01x*.*
    @%null

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?