tvl-depot/ach/Makefile
2021-03-07 15:29:59 -05:00

15 lines
178 B
Makefile

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