/sys/src/cmd/mk*: add $CLEANFILES to clean and nuke targets

This commit is contained in:
cinap_lenrek 2012-10-25 01:58:43 +02:00
parent 2b430f9932
commit e63f13a8de
3 changed files with 4 additions and 5 deletions

View file

@ -36,11 +36,10 @@ installall:V:
mk $stem
nuke:V:
rm -f *.[$OS] y.tab.? y.output y.error
rm -f $LIB
rm -f *.[$OS] y.tab.? y.output y.error $CLEANFILES $LIB
clean:V:
rm -f *.[$OS] y.tab.? y.output y.error
rm -f *.[$OS] y.tab.? y.output y.error $CLEANFILES
update:V:
update $UPDATEFLAGS $UPDATE

View file

@ -64,7 +64,7 @@ update:V:
# [$OS].??* avoids file names like 9.h
nuke:V:
rm -f *.[$OS] y.tab.? lex.yy.c y.debug y.output [$OS].??* *.acid $TARG
rm -f *.[$OS] y.tab.? lex.yy.c y.debug y.output [$OS].??* *.acid $TARG $CLEANFILES
clean:V:
rm -f *.[$OS] *.a[$OS] y.tab.? lex.yy.c y.debug y.output [$OS].??* $TARG $CLEANFILES

View file

@ -37,7 +37,7 @@ allall:V:
mk all
nuke:V:
rm -f *.[$OS] [$OS].out y.tab.? lex.yy.c y.debug y.output *.acid $TARG
rm -f *.[$OS] [$OS].out y.tab.? lex.yy.c y.debug y.output *.acid $TARG $CLEANFILES
clean:V:
rm -f *.[$OS] [$OS].out y.tab.? lex.yy.c y.debug y.output $TARG $CLEANFILES