summaryrefslogtreecommitdiff
path: root/ll/Makefile
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-01-20 16:21:22 +0100
committertomsmeding <tom.smeding@gmail.com>2017-01-20 16:21:22 +0100
commitfbed3a4b44823256f17c6a4473e0ec3f63792be6 (patch)
tree7e56bd392c38670ab89e072301e85205d00fca11 /ll/Makefile
Initial -- dump of stuff
Diffstat (limited to 'll/Makefile')
-rw-r--r--ll/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/ll/Makefile b/ll/Makefile
new file mode 100644
index 0000000..f19648f
--- /dev/null
+++ b/ll/Makefile
@@ -0,0 +1,16 @@
+.PHONY: all clean remake
+
+all: test
+
+clean:
+ rm test test.s
+
+remake: clean
+ make all
+
+
+test: test.s
+ clang -Wall -Wextra $< -o $@
+
+test.s: test.ll
+ llc -W $< -o $@