ref: 887ae1a17b54babf6a0946872bf6faaac1427be1
dir: /sys/src/cmd/rc/mkfile/
</$objtype/mkfile TARG=rc COMMONOFILES=\ code.$O\ exec.$O\ getflags.$O\ glob.$O\ here.$O\ io.$O\ lex.$O\ pcmd.$O\ pfnc.$O\ simple.$O\ subr.$O\ trap.$O\ tree.$O\ var.$O\ havefork.$O\ PLAN9OFILES=plan9.$O\ UNIXOFILES=unix.$O\ OFILES=$COMMONOFILES $PLAN9OFILES y.tab.$O HFILES=rc.h\ x.tab.h\ io.h\ exec.h\ fns.h\ getflags.h\ YFILES=syn.y BIN=/$objtype/bin UPDATE=\ mkfile\ $HFILES\ ${COMMONOFILES:%.$O=%.c}\ ${UNIXOFILES:%.$O=%.c}\ ${PLAN9OFILES:%.$O=%.c}\ $YFILES\ ${TARG:%=/386/bin/%}\ </sys/src/cmd/mkone x.tab.h: y.tab.h cmp -s x.tab.h y.tab.h || cp y.tab.h x.tab.h clean:V: rm -f [$OS].out *.[$OS] [xy].tab.? y.debug $TARG regress: $O.out cd test mk unregress:V: for(test in test/*.test) rc $test >$test.out listing: pr mkfile $HFILES $FILES $FILES9 $FILESUNIX $YFILES|lp -du