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>2025-02-07 09:12:14 -0800
commit103676315a2141d499d2c4deee0ceb7b4e799438 (patch)
tree811818b79a92912d1b16327098978f66cd2eda0a /docs/chapter15/Makefile
parentb29ddd596116ea5488078e823f75c9fbc3aad302 (diff)
downloadSimple-103676315a2141d499d2c4deee0ceb7b4e799438.tar.gz
Simple-103676315a2141d499d2c4deee0ceb7b4e799438.zip
Chapter 15: Arrays
Co-authored-by: XmiliaH <xmilia.hermit@gmail.com> Co-authored-by: Thalia Archibald <thalia@archibald.dev> Co-authored-by: tannal <tannal2409@gmail.com> Co-authored-by: hadha <helsgithub15@gmail.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/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)