aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGene Pasquet <dev@etenil.net>2026-04-18 05:49:34 +0100
committerGene Pasquet <dev@etenil.net>2026-04-18 05:49:34 +0100
commitc2085be2dd2a0cb3da05991847e35080915e547e (patch)
treee89a0f3c347b3106b15b69b09dcf29f93a7ef627 /Makefile
parent38eee24832fe6da4f135cae455881ab97953b23a (diff)
rename modules
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b0a6d84..aa8bb3c 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ OBJECT_FILES := $(patsubst %,bin/%.o,$(MODULE_NAMES))
DEMO_NAMES := getting-started platformer shmup topdown audio sandbox spritefont menu tweens scaling animation
DEMO_BINS := $(patsubst %,bin/demo-%,$(DEMO_NAMES))
-UNIT_NAMES := $(patsubst %,downstroke-%,$(MODULE_NAMES))
+UNIT_NAMES := $(patsubst %,downstroke.%,$(MODULE_NAMES))
USES_FLAGS := $(patsubst %,-uses %,$(UNIT_NAMES))
# Build all engine modules
@@ -34,8 +34,8 @@ bin/scene-loader.o: bin/world.o bin/tilemap.o bin/assets.o bin/engine.o bin/pref
# Pattern rule: compile each module as a library unit
bin/%.o: %.scm | bin
- csc -c -J -unit downstroke-$* $*.scm -o bin/$*.o -I bin
- @if [ -f downstroke-$*.import.scm ]; then mv downstroke-$*.import.scm bin/; fi
+ csc -c -J -unit downstroke.$* $*.scm -o bin/$*.o -I bin
+ @if [ -f downstroke.$*.import.scm ]; then mv downstroke.$*.import.scm bin/; fi
.PHONY: clean test engine demos filter