aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2729d94..b8b6a94 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
.DEFAULT_GOAL := engine
# Modules listed in dependency order
-MODULE_NAMES := entity tilemap world input physics renderer assets engine mixer sound animation ai prefabs scene-loader
+MODULE_NAMES := entity tween 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 spritefont menu
+DEMO_NAMES := platformer shmup topdown audio sandbox spritefont menu tweens
DEMO_BINS := $(patsubst %,bin/demo-%,$(DEMO_NAMES))
UNIT_NAMES := $(patsubst %,downstroke-%,$(MODULE_NAMES))
@@ -18,6 +18,7 @@ bin:
# Explicit inter-module dependencies
bin/entity.o:
+bin/tween.o: bin/entity.o
bin/tilemap.o:
bin/world.o: bin/entity.o bin/tilemap.o
bin/input.o: bin/entity.o
@@ -40,8 +41,8 @@ bin/%.o: %.scm | bin
.PHONY: clean test engine demos
clean:
- rm -rf bin
- rm -f *.import.scm
+ rm -rf bin downstroke/
+ rm -f *.import.scm *.import.so *.so
rm -f *.log
test:
@@ -58,6 +59,7 @@ test:
@csi -s tests/ai-test.scm
@csi -s tests/prefabs-test.scm
@csi -s tests/scene-loader-test.scm
+ @csi -s tests/tween-test.scm
demos: engine $(DEMO_BINS)