summaryrefslogtreecommitdiff
path: root/docs/chapter17/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-10-21 09:25:15 -0700
committerCliff Click <cliffc@acm.org>2025-01-13 16:36:11 -0800
commitc07510c1d75020d23d688f7f184149c57b13a39a (patch)
tree9572def469eb489f0f4af1fc242fd8fc1d2c9e26 /docs/chapter17/Makefile
parent7671192828ed6398919b661d0e243cc6f70033b8 (diff)
downloadSimple-c07510c1d75020d23d688f7f184149c57b13a39a.tar.gz
Simple-c07510c1d75020d23d688f7f184149c57b13a39a.zip
Chapter 17: Syntax Sugar
Diffstat (limited to 'docs/chapter17/Makefile')
-rw-r--r--docs/chapter17/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter17/Makefile b/docs/chapter17/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter17/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)