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-22 10:45:43 -0700
commit21d2ab97a2a9d2886dac14b1da791149403585ea (patch)
tree4b5e34bfc59a1aa2555e5babd6b15eaa69919259 /docs/chapter22/Makefile
parentdf9b3125df1be0f7bd655ecbe31a0c2a2351d2a8 (diff)
downloadSimple-21d2ab97a2a9d2886dac14b1da791149403585ea.tar.gz
Simple-21d2ab97a2a9d2886dac14b1da791149403585ea.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)