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>2025-04-24 14:38:36 -0700
commitcadc530688041b5455e6251055754df6f4182aec (patch)
tree1f83d6d9285adb0c10c9147da3e64700e8ea2820 /docs/chapter21/Makefile
parentf6c0b12e6cc1af4879042c0426fc96532cdfddc3 (diff)
downloadSimple-cadc530688041b5455e6251055754df6f4182aec.tar.gz
Simple-cadc530688041b5455e6251055754df6f4182aec.zip
Chapter 21: Instruction Encoding and ELFlinear-chapter21
Co-authored-by: Co-authored-by: Cliff Click <cliffc@acm.org> Co-authored-by: Co-authored-by: godalming123 <68993177+godalming123@users.noreply.github.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)