diff options
Diffstat (limited to 'users/glittershark/achilles/ach/Makefile')
-rw-r--r-- | users/glittershark/achilles/ach/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/users/glittershark/achilles/ach/Makefile b/users/glittershark/achilles/ach/Makefile new file mode 100644 index 000000000000..3a8cd2865e87 --- /dev/null +++ b/users/glittershark/achilles/ach/Makefile @@ -0,0 +1,15 @@ +default: simple + +%.ll: %.ach + cargo run -- compile $< -o $@ -f llvm + +%.o: %.ll + llc $< -o $@ -filetype=obj + +%: %.o + clang $< -o $@ + +.PHONY: clean + +clean: + @rm -f *.ll *.o simple functions |