summaryrefslogtreecommitdiff
path: root/docs/chapter17b/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-10-03 14:03:48 -0700
committerCliff Click <cliffc@acm.org>2026-10-23 09:33:11 -0700
commit5116c058ec1d9191720a5f8a37424902c547e8ab (patch)
treea5aee3977cc26582211599d28f9991212a2896ef /docs/chapter17b/Makefile
parent75cf6418858e9625e435b03d2c5df93f28144573 (diff)
downloadSimple-5116c058ec1d9191720a5f8a37424902c547e8ab.tar.gz
Simple-5116c058ec1d9191720a5f8a37424902c547e8ab.zip
Chapter 17b: Syntax Sugar
Co-authored-by: Jun Kawasaki <jun784@gmail.com>
Diffstat (limited to 'docs/chapter17b/Makefile')
-rw-r--r--docs/chapter17b/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter17b/Makefile b/docs/chapter17b/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter17b/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)