git: 9front

Download patch

ref: 5f44a5b99d74aea3cf7682a71018c841d17a6499
parent: 4c2a52f8c16e432f14b7642c9abd064df92abc99
author: BurnZeZ <brz-9dev@feline.systems>
date: Wed Nov 25 06:39:01 EST 2015

mpc: mpc.c is generated by yacc, so remove it on mk clean

--- a/sys/src/cmd/mkfile
+++ b/sys/src/cmd/mkfile
@@ -82,7 +82,7 @@
 directories:V:	install.directories
 
 cleanfiles:V:
-	rm -f [$OS].out *.[$OS] y.tab.? y.debug y.output [$OS].$TARG [$OS].units.tab $TARG bc.c bc.tab.h units.tab.h units.c [$OS]._cp
+	rm -f [$OS].out *.[$OS] y.tab.? y.debug y.output [$OS].$TARG [$OS].units.tab $TARG bc.c bc.tab.h units.tab.h units.c mpc.c [$OS]._cp
 
 %.clean:V:
 	rm -f [$OS].$stem $stem.[$OS]
@@ -103,7 +103,7 @@
 		mk $stem.install &
 	}
 	wait
-	rm -f $stem.[$OS] y.tab.? $stem.tab.? y.debug y.output [$OS].$stem bc.c bc.tab.h units.c
+	rm -f $stem.[$OS] y.tab.? $stem.tab.? y.debug y.output [$OS].$stem bc.c bc.tab.h units.c mpc.c
 
 %.acid: %.$O $HFILES
 	$CC $CFLAGS -a $stem.c >$target
--