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-04-24 14:38:36 -0700
commit489e86d923d7bc80cec353e08169b5bbeb9e0c00 (patch)
tree786b44c77f704c0b4f2c5068c1ba408dbba1e2e6 /docs/chapter09/Makefile
parentf9353c3765efd4c0e862b35c7beada89799e16f7 (diff)
downloadSimple-489e86d923d7bc80cec353e08169b5bbeb9e0c00.tar.gz
Simple-489e86d923d7bc80cec353e08169b5bbeb9e0c00.zip
Chapter 9: Global Value Numbering and Iterative Peepholes
Co-authored-by: Thalia Archibald <thalia@archibald.dev> Co-authored-by: Tamás Hadházy <85063808+Hels15@users.noreply.github.com> Co-authored-by: tannal <tannal2409@gmail.com> Co-authored-by: hadha <helsgithub15@gmail.com> Co-authored-by: XmiliaH <45106915+XmiliaH@users.noreply.github.com> Co-authored-by: Tamas Hadhazy <helsgithub15@gmail.com> Co-authored-by: RobertObkircher <robert.obkircher@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)