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-25 10:24:58 -0700
commitd09f462fc8aad2aff63334f58e249341b9e8e4a2 (patch)
tree16d5dd17cfd9c0e0720bec88449560b5e723d959 /docs/chapter17b/Makefile
parenta767eb62cc7fe5a6e7f6eb9434935bd90bbd6d7c (diff)
downloadSimple-d09f462fc8aad2aff63334f58e249341b9e8e4a2.tar.gz
Simple-d09f462fc8aad2aff63334f58e249341b9e8e4a2.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)