diff options
| author | Gene Pasquet <dev@etenil.net> | 2026-04-05 17:05:32 +0100 |
|---|---|---|
| committer | Gene Pasquet <dev@etenil.net> | 2026-04-05 17:05:32 +0100 |
| commit | ce948bd4b2a16cd0ee6f6a1f2115c52e1f83fce4 (patch) | |
| tree | f06a0e443c7735023492bbeb1784463040f21160 | |
| parent | ad8103fef0a43ec63323ea1902a647fb76dda670 (diff) | |
build: add assets and engine modules to Makefile
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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." |
