aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGene Pasquet <dev@etenil.net>2026-04-06 01:26:46 +0100
committerGene Pasquet <dev@etenil.net>2026-04-06 02:14:33 +0100
commitc4ebbbdd1a0bd081a2ed9447ba8188d97ae54717 (patch)
tree3e15f87d7fda6ca0f4aa64ae236dd156796b01b2 /Makefile
parent300131ca5a19d9de5250579d944a52b067b2d60b (diff)
Prefabs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6327ef9..9bf8a82 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 assets engine mixer sound animation ai scene-loader
+MODULE_NAMES := entity tilemap world input physics renderer assets engine mixer sound animation ai prefabs scene-loader
OBJECT_FILES := $(patsubst %,bin/%.o,$(MODULE_NAMES))
DEMO_NAMES := platformer shmup topdown audio sandbox
@@ -29,7 +29,8 @@ bin/mixer.o:
bin/sound.o: bin/mixer.o
bin/animation.o: bin/entity.o bin/world.o
bin/ai.o: bin/entity.o bin/world.o
-bin/scene-loader.o: bin/world.o bin/tilemap.o bin/assets.o bin/engine.o
+bin/prefabs.o: bin/entity.o bin/ai.o
+bin/scene-loader.o: bin/world.o bin/tilemap.o bin/assets.o bin/engine.o bin/prefabs.o
# Pattern rule: compile each module as a library unit
bin/%.o: %.scm | bin
@@ -55,6 +56,7 @@ test:
@csi -s tests/engine-test.scm
@csi -s tests/animation-test.scm
@csi -s tests/ai-test.scm
+ @csi -s tests/prefabs-test.scm
@csi -s tests/scene-loader-test.scm
demos: engine $(DEMO_BINS)