summaryrefslogtreecommitdiff
path: root/docs/chapter20/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2025-02-07 09:12:14 -0800
committerCliff Click <cliffc@acm.org>2025-02-07 09:12:14 -0800
commited22ac30eaf0dd2d0347637ac4f8d598c087fab1 (patch)
tree133bf327e982d50adbc95739122f52db85ba0058 /docs/chapter20/Makefile
parent8818754a41d12063ed5ff68a47a0adf2b80c24b7 (diff)
downloadSimple-linear-chapter20.tar.gz
Simple-linear-chapter20.zip
Chapter 20: Graph Coloring Register Allocationlinear-chapter20
Diffstat (limited to 'docs/chapter20/Makefile')
-rw-r--r--docs/chapter20/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter20/Makefile b/docs/chapter20/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter20/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)