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-06-13 15:42:08 -0700
commit892deaa10d8d2bae0e839bb42e4c2ce830eaff39 (patch)
treee425bcb4388b0238adc50dfd686eda0676e78048 /docs/chapter20/Makefile
parenta8229dff7f625e882411f16857e7257045f1536e (diff)
downloadSimple-892deaa10d8d2bae0e839bb42e4c2ce830eaff39.tar.gz
Simple-892deaa10d8d2bae0e839bb42e4c2ce830eaff39.zip
Chapter 20: Graph Coloring Register Allocation
Co-authored-by: Tamás Hadházy <85063808+Hels15@users.noreply.github.com> Co-authored-by: godalming123 <68993177+godalming123@users.noreply.github.com> Co-authored-by: RobertObkircher <robert.obkircher@gmail.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)