diff options
Diffstat (limited to 'common.mak')
| -rw-r--r-- | common.mak | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/common.mak b/common.mak new file mode 100644 index 0000000..5b49f55 --- /dev/null +++ b/common.mak @@ -0,0 +1,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 $< > $@ |
