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>2026-08-10 11:11:18 -0700
commit8c8baca922a9045c09d9d55071d4756ca30e10b7 (patch)
tree89674b431279eb4df246f9eb2547c26be1a6d574 /docs/chapter17/Makefile
parenta8891836852f0b2f6f4e1bca5a46c3a899e3ce07 (diff)
downloadSimple-8c8baca922a9045c09d9d55071d4756ca30e10b7.tar.gz
Simple-8c8baca922a9045c09d9d55071d4756ca30e10b7.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> Co-authored-by: Hsiang-Ying Fu <66062782+fuhsnn@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)