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-02-07 08:58:36 -0800
commitc0d5e9304e70138aa12fde9760da681d1e5e39cb (patch)
treea8b22db6f8fd50aa9bde8463e7489d5e99511313 /docs/chapter14/Makefile
parent23e23562844b16df0c74ca4bfc30b8090bd2b28a (diff)
downloadSimple-c0d5e9304e70138aa12fde9760da681d1e5e39cb.tar.gz
Simple-c0d5e9304e70138aa12fde9760da681d1e5e39cb.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: tannal <tannal2409@gmail.com> Co-authored-by: hadha <helsgithub15@gmail.com> Co-authored-by: XmiliaH <45106915+XmiliaH@users.noreply.github.com> Co-authored-by: Tamás Hadházy <85063808+Hels15@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)