tvl-depot/users/aspen/achilles/ach/Makefile

16 lines
188 B
Makefile
Raw Normal View History

2021-03-07 21:29:59 +01:00
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