summaryrefslogtreecommitdiff
path: root/docs/chapter15/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-09-12 11:13:31 -0700
committerCliff Click <cliffc@acm.org>2024-10-23 17:51:09 -0700
commit67dc6202dee2ce983778ba3143cc3f00196aeb7c (patch)
treee1622c3cd33e3761b1fb5aa55de51765c93f3de3 /docs/chapter15/Makefile
parentcb6d02efd0eca71076e458b890571385f0bf64a4 (diff)
downloadSimple-67dc6202dee2ce983778ba3143cc3f00196aeb7c.tar.gz
Simple-67dc6202dee2ce983778ba3143cc3f00196aeb7c.zip
Chapter 15: Arrayslinear-chapter15
Co-authored-by: XmiliaH <xmilia.hermit@gmail.com> Co-authored-by: Thalia Archibald <thalia@archibald.dev> Co-authored-by: Robert Obkircher <robert.obkircher@gmail.com>
Diffstat (limited to 'docs/chapter15/Makefile')
-rw-r--r--docs/chapter15/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter15/Makefile b/docs/chapter15/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter15/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)