From 502e7e752f3efdb069a36b23ab51ac22f9d74e9e Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Tue, 29 Sep 2026 12:34:58 -0700 Subject: Chapter 10a: Structs and Memory --- docs/chapter10a/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/chapter10a/Makefile (limited to 'docs/chapter10a/Makefile') diff --git a/docs/chapter10a/Makefile b/docs/chapter10a/Makefile new file mode 100644 index 00000000..055882b2 --- /dev/null +++ b/docs/chapter10a/Makefile @@ -0,0 +1,14 @@ +GV := $(wildcard *.gv) +SVG := $(patsubst %.gv,%.svg,$(GV)) +.DELETE_ON_ERROR: + +.PHONY: all +all: $(SVG) + +%.svg: %.gv + dot -Tsvg $< > $@ + @sed -i 's/\r$$//' $@ + +.PHONY: clean +clean: + @rm -f $(SVG) -- cgit v1.2.3