summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-04-13 01:48:35 -0700
committerOri Bernstein <ori@eigenstate.org>2015-04-13 01:48:35 -0700
commit752e3042368d31728e583879b18d1d93d96adefd (patch)
treec21442ea1d5f5348327f61b381f20d4814f20cb6 /Makefile
parent37468d379ec14b26a7748953676a17aeab1757b3 (diff)
downloadmc-752e3042368d31728e583879b18d1d93d96adefd.tar.gz
Generate bootstrap scripts using mbld.
We can ditch myrbuild.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 61a5418..e119c47 100644
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,12 @@ SUB = parse \
mi \
6 \
muse \
- myrbuild \
rt \
- libstd \
doc
+EXTRA=buildmyr
+EXTRACLEAN=cleanmyr
+
include mk/c.mk
include config.mk
@@ -16,3 +17,12 @@ check: all
bench: all
$(MAKE) -C bench bench
+
+bootstrap.sh: buildmyr
+ ./genbootstrap.sh
+
+buildmyr:
+ ./mbldwrap.sh
+
+cleanmyr:
+ ./mbldwrap.sh clean