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-04-24 14:38:36 -0700
commit8bd80a973937dcb2465c9ddaed756208f7225b9b (patch)
tree758cfb1c017601503945ed761065820a69106bd3 /docs/chapter18/Makefile
parent9a0a1ed86d9cd988218bc3fe603675d62979b814 (diff)
downloadSimple-8bd80a973937dcb2465c9ddaed756208f7225b9b.tar.gz
Simple-8bd80a973937dcb2465c9ddaed756208f7225b9b.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)