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>2024-11-16 15:19:12 -0800
commita667a5b81d47d9f15728c397c68bf196b4ecc7ba (patch)
tree0919c3fc9e23b1d243e33720bee6b150adaf3b88 /docs/chapter11/Makefile
parent5439604a2de8eb00398cf7c56f921a8f5dd21528 (diff)
downloadSimple-a667a5b81d47d9f15728c397c68bf196b4ecc7ba.tar.gz
Simple-a667a5b81d47d9f15728c397c68bf196b4ecc7ba.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: 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)