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>2025-02-07 09:12:14 -0800
commit8818754a41d12063ed5ff68a47a0adf2b80c24b7 (patch)
treeb8c79da18a51a5905dc6287742634a84ed316cf9 /docs/chapter19/Makefile
parent234264ebc45758930249740f267ba15fffbffffa (diff)
downloadSimple-8818754a41d12063ed5ff68a47a0adf2b80c24b7.tar.gz
Simple-8818754a41d12063ed5ff68a47a0adf2b80c24b7.zip
Ch# Chapter 19: Instruction Selection and Portable Compilation
Co-authored-by: hadha <helsgithub15@gmail.com> Co-authored-by: Tamás Hadházy <85063808+Hels15@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)