summaryrefslogtreecommitdiff
path: root/mkfile
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2018-01-02 00:31:20 -0800
committerOri Bernstein <ori@eigenstate.org>2018-01-02 00:31:20 -0800
commita2ec5b679784ea9ddc8150ceaec2fab37e0032a0 (patch)
tree27da9b4491c9985aaea9f0887a4ca550891f64ac /mkfile
parentefbaf45769d86206f881d437c00f68cc868d3395 (diff)
downloadmc-a2ec5b679784ea9ddc8150ceaec2fab37e0032a0.tar.gz
Let's build the compiler before we use it.
Diffstat (limited to 'mkfile')
-rw-r--r--mkfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/mkfile b/mkfile
index 7352951..23ad0e9 100644
--- a/mkfile
+++ b/mkfile
@@ -41,7 +41,11 @@ install:V: $SUB config.h
genbootstrap:V:
ape/psh genbootstrap.sh
-bootstrap:V:
+bootstrap:V: $SUB config.h
+ for(dir in $SUB)@{
+ cd $dir
+ mk $MKFLAGS
+ }
ape/psh mk/bootstrap/bootstrap+Plan9-amd64.sh
uninstall:V: $SUB config.h