summaryrefslogtreecommitdiff
path: root/docs/chapter22/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2025-04-21 14:18:23 -0700
committerCliff Click <cliffc@acm.org>2026-10-25 10:24:58 -0700
commit3eea1a57c50f621459eda359002d82c2c8410b7b (patch)
tree2d0dc7b9c90e62db5650e2a98d966c328d90301a /docs/chapter22/Makefile
parentb6dc67e4844d4a9c1f47f501165656af60983d83 (diff)
downloadSimple-3eea1a57c50f621459eda359002d82c2c8410b7b.tar.gz
Simple-3eea1a57c50f621459eda359002d82c2c8410b7b.zip
Chapter 22: A Hello, World!
Co-authored-by: godalming123 <68993177+godalming123@users.noreply.github.com> Co-authored-by: Tamás Hadházy <85063808+Hels15@users.noreply.github.com> Co-authored-by: Hsiang-Ying Fu <66062782+fuhsnn@users.noreply.github.com> Co-authored-by: fuhsnn <66062782+fuhsnn@users.noreply.github.com> Co-authored-by: Symious <14933944+symious@users.noreply.github.com> Co-authored-by: Jun Kawasaki <jun784@gmail.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'docs/chapter22/Makefile')
-rw-r--r--docs/chapter22/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter22/Makefile b/docs/chapter22/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter22/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)