aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-05-13 12:19:13 -0700
committerMichael Forney <mforney@mforney.org>2019-05-13 12:24:23 -0700
commit173957fae99508b18915daf1bd5768172afc44a3 (patch)
treee7160b5f2a38ccc0868b231bfa1e80ac0f47bd9c /Makefile
parente70ee0ec1a0f7784dac638ac2d782afec4dd7a4c (diff)
Add qbe submodule to make it easy to build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1157ffe..19d2906 100644
--- a/Makefile
+++ b/Makefile
@@ -82,6 +82,11 @@ bootstrap: stage2 stage3
check: all
@CCQBE=./cc-qbe ./runtests
+.PHONY: qbe
+qbe:
+ git submodule update --init qbe
+ $(MAKE) -C qbe
+
.PHONY: clean
clean:
rm -rf cc $(DRIVER_OBJ) cc-qbe $(OBJ) stage2 stage3