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-24 15:56:44 -0700
commita61a7e452dd04bf275547853569bdf371837ced1 (patch)
tree82f5c89928d2740541cb507100f44e5fc335708b /docs/chapter17b/Makefile
parent3b4151991623d6c2823c56242fa6f077677e5af9 (diff)
downloadSimple-a61a7e452dd04bf275547853569bdf371837ced1.tar.gz
Simple-a61a7e452dd04bf275547853569bdf371837ced1.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)