about summary refs log tree commit diff
path: root/users/aspen/achilles/ach/Makefile
blob: 3a8cd2865e87e318ea423d0051ddc1dc7c5262cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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