summaryrefslogtreecommitdiff
path: root/docs/chapter09/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-03-03 17:55:47 +0000
committerCliff Click <cliffc@acm.org>2025-01-09 12:19:55 -0800
commit8a543b86312eb5c7c175fe06b861c3462e0d2884 (patch)
tree8ff88ae8350806cd10c479c6885fef704bf88d7f /docs/chapter09/Makefile
parent13469964c3d715a1b4cea8f10da112a6eda6fb2e (diff)
downloadSimple-8a543b86312eb5c7c175fe06b861c3462e0d2884.tar.gz
Simple-8a543b86312eb5c7c175fe06b861c3462e0d2884.zip
Chapter 9: Global Value Numbering and Iterative Peepholes
Co-authored-by: Thalia Archibald <thalia@archibald.dev> Co-authored-by: XmiliaH <45106915+XmiliaH@users.noreply.github.com> Co-authored-by: Tamas Hadhazy <helsgithub15@gmail.com> Co-authored-by: Robert Obkircher <robert.obkircher@gmail.com> Co-authored-by: Dibyendu Majumdar <mobile@majumdar.org.uk> Co-authored-by: Darrick Wiebe <darrickw@untether.ai>
Diffstat (limited to 'docs/chapter09/Makefile')
-rw-r--r--docs/chapter09/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter09/Makefile b/docs/chapter09/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter09/Makefile
@@ -0,0 +1,12 @@
+GV := $(wildcard *.gv)
+SVG := $(patsubst %.gv,%.svg,$(GV))
+
+.PHONY: all
+all: $(SVG)
+
+%.svg: %.gv
+ dot -Tsvg $< > $@
+
+.PHONY: clean
+clean:
+ @rm -f $(SVG)