summaryrefslogtreecommitdiff
path: root/docs/chapter11/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-06-30 01:58:08 +0100
committerCliff Click <cliffc@acm.org>2026-08-10 11:11:18 -0700
commit859eca488f12f11a2f3aaff36891a9a085f96bb2 (patch)
tree97905cd872d92109b6240c8661b3b6bd1ee0c9a4 /docs/chapter11/Makefile
parent00a1060ec8b7ed4caf55fdca9ffa56c63bc9f38b (diff)
downloadSimple-859eca488f12f11a2f3aaff36891a9a085f96bb2.tar.gz
Simple-859eca488f12f11a2f3aaff36891a9a085f96bb2.zip
Chapter 11: Global Code Motion
Co-authored-by: Dibyendu Majumdar <mobile@majumdar.org.uk> Co-authored-by: Thalia Archibald <thalia@archibald.dev> Co-authored-by: Tamás Hadházy <85063808+Hels15@users.noreply.github.com> Co-authored-by: Hsiang-Ying Fu <66062782+fuhsnn@users.noreply.github.com> Co-authored-by: tannal <tannal2409@gmail.com> Co-authored-by: hadha <helsgithub15@gmail.com> Co-authored-by: RobertObkircher <robert.obkircher@gmail.com> Co-authored-by: Robert Obkircher <robert.obkircher@gmail.com>
Diffstat (limited to 'docs/chapter11/Makefile')
-rw-r--r--docs/chapter11/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter11/Makefile b/docs/chapter11/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter11/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)