summaryrefslogtreecommitdiff
path: root/common.mak
blob: 5b49f55626da45a4656fa45be9999e56ade9bcd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
LLC  ?= clang
SINC ?= sinter

%.o: %.ll
	$(LLC) -c $(LLCFLAGS) -o $@ $<

%.ll: %.sin
	$(SINC) -l $(SINCFLAGS) -o $@ $<

%.dot: %.sin
	$(SINC) -g $(SINCFLAGS) -o $@ $<

%.svg: %.dot
	dot -Tsvg $< > $@