summaryrefslogtreecommitdiff
path: root/chapter22/docs/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2025-04-21 14:18:23 -0700
committerCliff Click <cliffc@acm.org>2025-04-21 14:18:23 -0700
commit988656f475230e845fa3b553e97799b0829e9830 (patch)
tree9b952f0f2ed22adf4a7ecceb70fb6f3cc7c8a818 /chapter22/docs/Makefile
parent6d80212003d2b03c2df06683efe696238f391cf7 (diff)
downloadSimple-988656f475230e845fa3b553e97799b0829e9830.tar.gz
Simple-988656f475230e845fa3b553e97799b0829e9830.zip
Initial push
Diffstat (limited to 'chapter22/docs/Makefile')
-rw-r--r--chapter22/docs/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/chapter22/docs/Makefile b/chapter22/docs/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/chapter22/docs/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)