summaryrefslogtreecommitdiff
path: root/docs/chapter21/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2025-04-24 14:38:36 -0700
committerCliff Click <cliffc@acm.org>2026-11-01 10:33:55 -0800
commit427410ced1d8d32f73bdcdb38bdf5e60cabca718 (patch)
tree17789e037cf9619834f936130b57337a380bba8a /docs/chapter21/Makefile
parent7e06e8444921dd86b2b08b180c1f2107667e352d (diff)
downloadSimple-427410ced1d8d32f73bdcdb38bdf5e60cabca718.tar.gz
Simple-427410ced1d8d32f73bdcdb38bdf5e60cabca718.zip
Chapter 21: Instruction Encoding and ELF
Co-authored-by: godalming123 <68993177+godalming123@users.noreply.github.com> Co-authored-by: Hsiang-Ying Fu <66062782+fuhsnn@users.noreply.github.com> Co-authored-by: tejasae-afk <tejasae-afk@users.noreply.github.com> Co-authored-by: fuhsnn <66062782+fuhsnn@users.noreply.github.com> Co-authored-by: Tejas Attarde <201814263+tejasae-afk@users.noreply.github.com> Co-authored-by: Tamás Hadházy <85063808+Hels15@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/chapter21/Makefile')
-rw-r--r--docs/chapter21/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter21/Makefile b/docs/chapter21/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter21/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)