diff options
| author | Gene Pasquet <dev@etenil.net> | 2026-04-18 05:49:34 +0100 |
|---|---|---|
| committer | Gene Pasquet <dev@etenil.net> | 2026-04-18 05:49:34 +0100 |
| commit | c2085be2dd2a0cb3da05991847e35080915e547e (patch) | |
| tree | e89a0f3c347b3106b15b69b09dcf29f93a7ef627 /Makefile | |
| parent | 38eee24832fe6da4f135cae455881ab97953b23a (diff) | |
rename modules
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
