From 300131ca5a19d9de5250579d944a52b067b2d60b Mon Sep 17 00:00:00 2001 From: Gene Pasquet Date: Sun, 5 Apr 2026 23:44:12 +0100 Subject: Rename prefix from downstroke/ to downstroke- --- Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 65cb33e..6327ef9 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ OBJECT_FILES := $(patsubst %,bin/%.o,$(MODULE_NAMES)) DEMO_NAMES := platformer shmup topdown audio sandbox 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 @@ -16,9 +16,6 @@ engine: $(OBJECT_FILES) bin: @mkdir -p $@ -downstroke: - @mkdir -p $@ - # Explicit inter-module dependencies bin/entity.o: bin/tilemap.o: @@ -35,9 +32,9 @@ 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 # Pattern rule: compile each module as a library unit -bin/%.o: %.scm | bin downstroke - csc -c -J -unit downstroke/$* $*.scm -o bin/$*.o -I bin -L bin/downstroke - @mkdir -p bin/downstroke && if [ -f downstroke/$*.import.scm ]; then mv downstroke/$*.import.scm bin/downstroke/; fi +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 .PHONY: clean test engine demos -- cgit v1.2.3