From f2ba27ae98d2bda81883a8ab3504c0a747ec3ae4 Mon Sep 17 00:00:00 2001 From: cadmic Date: Wed, 24 Jan 2024 17:08:31 -0800 Subject: [PATCH] Don't use grouped targets to support very old Make versions --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1e6f97a8e0..b825ac6f2c 100644 --- a/Makefile +++ b/Makefile @@ -441,11 +441,11 @@ $(BUILD_DIR)/assets/%.bin.inc.c: assets/%.bin $(BUILD_DIR)/assets/%.jpg.inc.c: assets/%.jpg $(ZAPD) bren -eh -i $< -o $@ -$(DISASM_S_FILES) &: $(DISASM_DATA_FILES) +$(EXPECTED_DIR)/.disasm: $(DISASM_DATA_FILES) $(PYTHON) tools/disasm/disasm.py $(DISASM_FLAGS) $(DISASM_BASEROM) -o $(EXPECTED_DIR) --split-functions $(EXPECTED_DIR)/functions -$(EXPECTED_DIR)/%.o: $(EXPECTED_DIR)/%.s - $(AS) $(ASFLAGS) $< -o $@ +$(EXPECTED_DIR)/%.o: $(EXPECTED_DIR)/.disasm + $(AS) $(ASFLAGS) $(@:.o=.s) -o $@ -include $(DEP_FILES)