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 09:12:14 -0800
commit3407c35a22158835d1a0e0ff29bc0b825cdb1adc (patch)
tree013987f86eccae0dec204cd9e001c843ccb498a7 /docs/chapter17/Makefile
parentcd4ff0919b2d4489a1b6ceda0581c49bd87ba0de (diff)
downloadSimple-3407c35a22158835d1a0e0ff29bc0b825cdb1adc.tar.gz
Simple-3407c35a22158835d1a0e0ff29bc0b825cdb1adc.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)