summaryrefslogtreecommitdiff
path: root/docs/chapter13/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-08-05 16:15:27 -0700
committerCliff Click <cliffc@acm.org>2024-10-23 17:51:09 -0700
commit0b76dcf4048533e1adc44ca4b67f3228e9719530 (patch)
tree44e361dbeb7cbc8a0436054abf7f93fcec716eff /docs/chapter13/Makefile
parenta080ea0774887141c26e38e57355e5520c49396a (diff)
downloadSimple-0b76dcf4048533e1adc44ca4b67f3228e9719530.tar.gz
Simple-0b76dcf4048533e1adc44ca4b67f3228e9719530.zip
Chapter 13: Referenceslinear-chapter13
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/chapter13/Makefile')
-rw-r--r--docs/chapter13/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter13/Makefile b/docs/chapter13/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter13/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)