summaryrefslogtreecommitdiff
path: root/docs/chapter18/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-11-26 11:01:47 -0800
committerCliff Click <cliffc@acm.org>2025-06-13 15:42:08 -0700
commit8bc09f04ca12db4a2bf1fcd853e22ab989d250c8 (patch)
tree00573e10cd4ab98907ad5662e9febd3c4dd21d7f /docs/chapter18/Makefile
parent976d075fc977122e1b773b0d298eeaa9e491e600 (diff)
downloadSimple-8bc09f04ca12db4a2bf1fcd853e22ab989d250c8.tar.gz
Simple-8bc09f04ca12db4a2bf1fcd853e22ab989d250c8.zip
Chapter 18: Functions
Co-authored-by: Tamás Hadházy <85063808+Hels15@users.noreply.github.com> Co-authored-by: tannal <tannal2409@gmail.com> Co-authored-by: hadha <helsgithub15@gmail.com> Co-authored-by: RobertObkircher <robert.obkircher@gmail.com>
Diffstat (limited to 'docs/chapter18/Makefile')
-rw-r--r--docs/chapter18/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter18/Makefile b/docs/chapter18/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter18/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)