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-06-13 15:42:08 -0700
commit976d075fc977122e1b773b0d298eeaa9e491e600 (patch)
tree9bc8f9fb70ca09cda428d7d44d7b7879638256fa /docs/chapter17/Makefile
parent34064e91af636efe9d17f8a9786683db0ecd2e19 (diff)
downloadSimple-976d075fc977122e1b773b0d298eeaa9e491e600.tar.gz
Simple-976d075fc977122e1b773b0d298eeaa9e491e600.zip
Chapter 17: Syntax Sugar
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/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)