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-11-08 14:10:02 -0800
commita51bbdab4b60a6df969ceeff68c4f29b5bb3816c (patch)
tree7629684642723578838992108421f57bb60bf3b2 /docs/chapter17b/Makefile
parent4de33c55fe383328547ea70fc847ec1397a3d2f3 (diff)
downloadSimple-a51bbdab4b60a6df969ceeff68c4f29b5bb3816c.tar.gz
Simple-a51bbdab4b60a6df969ceeff68c4f29b5bb3816c.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)