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>2026-11-14 12:41:16 -0800
commit09457d67ed51eac2cdfe8812921731564952204a (patch)
tree7250148e243b05447bd59127844fb06990deb43f /docs/chapter20/Makefile
parentca89ec86476968c5610758e6bcfae85231b73f50 (diff)
downloadSimple-09457d67ed51eac2cdfe8812921731564952204a.tar.gz
Simple-09457d67ed51eac2cdfe8812921731564952204a.zip
Chapter 20: Graph Coloring Register Allocation
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: godalming123 <68993177+godalming123@users.noreply.github.com> Co-authored-by: fuhsnn <66062782+fuhsnn@users.noreply.github.com> Co-authored-by: Symious <14933944+symious@users.noreply.github.com> Co-authored-by: RobertObkircher <robert.obkircher@gmail.com> Co-authored-by: Jun Kawasaki <jun784@gmail.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
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)