summaryrefslogtreecommitdiff
path: root/woa/common.mak
diff options
context:
space:
mode:
authorMaggie Harley2024-06-26 21:36:33 +0100
committerMaggie Harley2024-06-26 21:36:33 +0100
commit5447047aedb010bd84844d29216f7407dfc0ab2f (patch)
tree4bb411cc99cfb80a1af15dde2e196196bfeb67e6 /woa/common.mak
parentAdd .mailmap (diff)
downloadsinter-mag/wip.tar.gz
sinter-mag/wip.zip
Diffstat (limited to 'woa/common.mak')
-rw-r--r--woa/common.mak14
1 files changed, 14 insertions, 0 deletions
diff --git a/woa/common.mak b/woa/common.mak
new file mode 100644
index 0000000..55e5641
--- /dev/null
+++ b/woa/common.mak
@@ -0,0 +1,14 @@
+LLC ?= llc-10
+SINC ?= ../sinc
+
+%.o: %.ll
+ $(LLC) -filetype obj $(LLCFLAGS) -o $@ $<
+
+%.ll: %.sin
+ $(SINC) -l $(SINCFLAGS) -o $@ $<
+
+%.dot: %.sin
+ $(SINC) -g $(SINCFLAGS) -o $@ $<
+
+%.svg: %.dot
+ dot -Tsvg $< > $@