summaryrefslogtreecommitdiff
path: root/docs/chapter19/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2025-02-07 08:58:36 -0800
committerCliff Click <cliffc@acm.org>2026-08-10 11:11:18 -0700
commit77f73add74cd251e1251cf2979e01ef01e0583fb (patch)
tree41cc69ae15405adf57e61cce1ab27ac4213401c1 /docs/chapter19/Makefile
parent25b2b22a92403cd56f938402601e2cbeed9617d3 (diff)
downloadSimple-77f73add74cd251e1251cf2979e01ef01e0583fb.tar.gz
Simple-77f73add74cd251e1251cf2979e01ef01e0583fb.zip
Chapter 19: Instruction Selection and Portable Compilation
Co-authored-by: Tamás Hadházy <85063808+Hels15@users.noreply.github.com> Co-authored-by: hadha <helsgithub15@gmail.com> Co-authored-by: godalming123 <68993177+godalming123@users.noreply.github.com> Co-authored-by: RobertObkircher <robert.obkircher@gmail.com> Co-authored-by: Hsiang-Ying Fu <66062782+fuhsnn@users.noreply.github.com>
Diffstat (limited to 'docs/chapter19/Makefile')
-rw-r--r--docs/chapter19/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter19/Makefile b/docs/chapter19/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter19/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)