summaryrefslogtreecommitdiff
path: root/docs/chapter14/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-08-06 13:09:38 +0100
committerCliff Click <cliffc@acm.org>2025-01-09 12:19:55 -0800
commit6bdc893ae88a8505cfcd08c619e419e724468c59 (patch)
treeaa42dc40f4e8b6f66d5f736d2c7c55036aeb53e8 /docs/chapter14/Makefile
parentf2348e6a68fa33962a04d35d87bb25f1b9387d78 (diff)
downloadSimple-6bdc893ae88a8505cfcd08c619e419e724468c59.tar.gz
Simple-6bdc893ae88a8505cfcd08c619e419e724468c59.zip
Chapter 14: Narrow types
Co-authored-by: Thalia Archibald <thalia@archibald.dev> Co-authored-by: Dibyendu Majumdar <mobile@majumdar.org.uk> Co-authored-by: XmiliaH <45106915+XmiliaH@users.noreply.github.com> Co-authored-by: Robert Obkircher <robert.obkircher@gmail.com>
Diffstat (limited to 'docs/chapter14/Makefile')
-rw-r--r--docs/chapter14/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter14/Makefile b/docs/chapter14/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter14/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)