From ce948bd4b2a16cd0ee6f6a1f2115c52e1f83fce4 Mon Sep 17 00:00:00 2001 From: Gene Pasquet Date: Sun, 5 Apr 2026 17:05:32 +0100 Subject: build: add assets and engine modules to Makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3fae2a7..d43d192 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .DEFAULT_GOAL := engine # Modules listed in dependency order -MODULE_NAMES := entity tilemap world input physics renderer +MODULE_NAMES := entity tilemap world input physics renderer assets engine OBJECT_FILES := $(patsubst %,bin/%.o,$(MODULE_NAMES)) # Build all engine modules @@ -20,6 +20,8 @@ bin/world.o: bin/entity.o bin/tilemap.o bin/input.o: bin/entity.o bin/physics.o: bin/entity.o bin/world.o bin/tilemap.o bin/renderer.o: bin/entity.o bin/tilemap.o bin/world.o +bin/assets.o: +bin/engine.o: bin/renderer.o bin/world.o bin/input.o bin/assets.o # Pattern rule: compile each module as a library unit bin/%.o: %.scm | bin downstroke @@ -41,6 +43,8 @@ test: @csi -s tests/physics-test.scm @csi -s tests/input-test.scm @csi -s tests/renderer-test.scm + @csi -s tests/assets-test.scm + @csi -s tests/engine-test.scm demos: @echo "No demos yet." -- cgit v1.2.3