summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-11-12 13:16:00 -0800
committerCliff Click <cliffc@acm.org>2026-11-12 13:52:46 -0800
commit467338ee01565234762db8077c067df42c3b40a8 (patch)
tree42c44a77da87c4811b1eb7611d0952dc2c55e022 /README.md
parent0720fd8ed0aa92248622a9f3c3ebd522b002fd91 (diff)
downloadSimple-467338ee01565234762db8077c067df42c3b40a8.tar.gz
Simple-467338ee01565234762db8077c067df42c3b40a8.zip
Add audio, overhaul makefiles
Adds simple audio support to Simple Overhaul makefiles; remove common boilerplate; make them more uniform
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index 602351e5..bc6feebe 100644
--- a/README.md
+++ b/README.md
@@ -29,6 +29,11 @@ the backend starts with a Java evaluator (first introduced in Chapter
## Chapters
+Download dependencies once with `make libs` (or `make init`; `make lib` remains
+an alias). Other Make targets use the local `lib/` caches and never download.
+For Chapter 31's graphics and audio, use `make -C chapter31 libs CTAGS=` while
+online; those cached sources survive `make clean` for later offline builds.
+
The following is a rough plan, subject to change.
Each chapter will be self-sufficient and complete; in the sense that each
@@ -104,6 +109,14 @@ The top-level Makefile runs each chapter's `tests`, `tags` (also `tag`),
`release`, or `lib` target. Start with `make lib` on a fresh checkout, then
`make tests`.
+All chapter Makefiles share [Java build rules](build-support/java.mk) and
+[offline dependency rules](build-support/libraries.mk). Missing JUnit JARs
+are copied from another chapter's local cache when available; otherwise the
+build stops with `make libs` instructions before compiling. Chapter-specific
+Makefile additions introduce allocation statistics (20), shared instruction
+encoders (21), the native entry shim (28a), separate compilation and `sys`
+(28b), the terminal game (30), and graphics/audio (31).
+
CI runs `make lib tests CTAGS=` on Linux with JDK 21. The Make targets also build
the native runtime and `sys` library in Chapter 28b and later before running
the tests that use them; Maven's Java build alone does not produce those prerequisites.