summaryrefslogtreecommitdiff
path: root/docs/chapter12/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-07-17 18:11:56 +0100
committerCliff Click <cliffc@acm.org>2024-11-16 15:19:12 -0800
commit763f0e254cd82ed699f98ea74753bb606ad834a1 (patch)
treefa4e70692b95462a9dd6996d673922e76e0ac50b /docs/chapter12/Makefile
parenta667a5b81d47d9f15728c397c68bf196b4ecc7ba (diff)
downloadSimple-763f0e254cd82ed699f98ea74753bb606ad834a1.tar.gz
Simple-763f0e254cd82ed699f98ea74753bb606ad834a1.zip
Chapter 12: Floats
Co-authored-by: Dibyendu Majumdar <mobile@majumdar.org.uk> Co-authored-by: Thalia Archibald <thalia@archibald.dev> Co-authored-by: XmiliaH <45106915+XmiliaH@users.noreply.github.com> Co-authored-by: Robert Obkircher <robert.obkircher@gmail.com>
Diffstat (limited to 'docs/chapter12/Makefile')
-rw-r--r--docs/chapter12/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter12/Makefile b/docs/chapter12/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter12/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)