summaryrefslogtreecommitdiff
path: root/docs/chapter10/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-04-23 17:23:16 +0100
committerCliff Click <cliffc@acm.org>2025-04-24 14:38:36 -0700
commitc15c5a3ef753b65f2d8a5bc253bfc8c4a1787f83 (patch)
treee8744b1e9b83338f9409b4a1815da953d28e4237 /docs/chapter10/Makefile
parent489e86d923d7bc80cec353e08169b5bbeb9e0c00 (diff)
downloadSimple-c15c5a3ef753b65f2d8a5bc253bfc8c4a1787f83.tar.gz
Simple-c15c5a3ef753b65f2d8a5bc253bfc8c4a1787f83.zip
Chapter 10: Structs and Memory
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: tannal <tannal2409@gmail.com> Co-authored-by: hadha <helsgithub15@gmail.com> Co-authored-by: XmiliaH <xmilia.hermit@gmail.com> Co-authored-by: Tamás Hadházy <85063808+Hels15@users.noreply.github.com> Co-authored-by: RobertObkircher <robert.obkircher@gmail.com> Co-authored-by: Robert Obkircher <robert.obkircher@gmail.com>
Diffstat (limited to 'docs/chapter10/Makefile')
-rw-r--r--docs/chapter10/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter10/Makefile b/docs/chapter10/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter10/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)