plan9port/src/mkcommon
rsc dff7e27317 Clean up yacc files in mkcommon, mkhdr.
Add nan to lib9.
Fix memory corruption bugs in 9term.
2003-12-04 19:16:29 +00:00

25 lines
447 B
Text

%.$O: $HFILES # don't combine with following %.$O rules
%.$O: %.c
$CC $CFLAGS $stem.c
%.$O: %.s
$AS $AFLAGS $stem.s
y.tab.h y.tab.c: $YFILES
$YACC $YFLAGS $prereq
nuke:V: nuke-common
clean:V: clean-common
%.clean:V: %.clean-common
nuke-common:V:
rm -f *.[$OS] [$OS].out $CLEANFILES y.tab.[ch] $NUKEFILES
clean-common:
rm -f *.[$OS] [$OS].out $CLEANFILES y.tab.[ch]
%.clean-common:V:
rm -f $stem.[$OS] [$OS].$stem $stem.acid $stem