summaryrefslogtreecommitdiff
path: root/docs/chapter09/Makefile
diff options
context:
space:
mode:
authorThalia Archibald <thalia@archibald.dev>2024-03-03 17:55:47 +0000
committerThalia Archibald <thalia@archibald.dev>2024-11-16 15:19:12 -0800
commitc2813a97078c88726ecbc78ba985e9e4fefe2504 (patch)
tree59d4436fd346ddcd3240d54d8174a4f7a3de09f9 /docs/chapter09/Makefile
parent109db787c8ea744eb5989e0a6278fec2c4405196 (diff)
downloadSimple-c2813a97078c88726ecbc78ba985e9e4fefe2504.tar.gz
Simple-c2813a97078c88726ecbc78ba985e9e4fefe2504.zip
Chapter 9: Global Value Numbering and Iterative Peepholes
Co-authored-by: Cliff Click <cliffc@acm.org> 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)