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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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