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-14 12:41:16 -0800
commit52adf7ce9dae508078a8a43e4486df2c03fa34b5 (patch)
tree22342e4995718f613125df9f544958b9848cba5c /docs/chapter17b/Makefile
parent314c5ac835ff107f5b5f0668f2529a427610e982 (diff)
downloadSimple-52adf7ce9dae508078a8a43e4486df2c03fa34b5.tar.gz
Simple-52adf7ce9dae508078a8a43e4486df2c03fa34b5.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)