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-12 23:28:58 -0800
commitc641cd2b56a61dab2625b8383fbffacb6ae13379 (patch)
treeda789eb6b1316e7a257b8943df5fd5257e95fa3b /docs/chapter17b/Makefile
parentaa33ce673050da2f436422d6b07b76449ed8cae8 (diff)
downloadSimple-c641cd2b56a61dab2625b8383fbffacb6ae13379.tar.gz
Simple-c641cd2b56a61dab2625b8383fbffacb6ae13379.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)