summaryrefslogtreecommitdiff
path: root/docs/chapter17/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-10-21 09:25:15 -0700
committerCliff Click <cliffc@acm.org>2025-02-07 08:58:36 -0800
commit5ad8838f0e6eb9025d80786cfad31259b8aac378 (patch)
tree0f46eca32a43a419badcd1938d45f6ee2896fd94 /docs/chapter17/Makefile
parent70db7d67af70f59051c9cecf185c09ea53dccde6 (diff)
downloadSimple-5ad8838f0e6eb9025d80786cfad31259b8aac378.tar.gz
Simple-5ad8838f0e6eb9025d80786cfad31259b8aac378.zip
Chapter 17: Syntax Sugar
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>
Diffstat (limited to 'docs/chapter17/Makefile')
-rw-r--r--docs/chapter17/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter17/Makefile b/docs/chapter17/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter17/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)