#
#   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
