Fixed multi-tasking building with make...

This commit is contained in:
Ulysse Cura 2026-07-17 17:50:25 +02:00
parent bd624b53ea
commit 26092f4e30
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ CORE_OBJECTS = $(CORE_SOURCES:%.c=$(BUILD_DIR)/$(CORE_DIR)/%.o)
CURRENT_CORE_FILE := 0
# Build core target
build_core: core_setup count_core_build $(BUILD_DIR)/$(CORE_OUTPUT) core_end
build_core: core_setup count_core_build core_end
# Core build directories
core_setup:
@ -57,7 +57,7 @@ $(BUILD_DIR)/$(CORE_DIR)/%.o: $(CORE_DIR)/%.c
$(Q)$(CORE_CC) $(CORE_CFLAGS) $(CORE_INCLUDE_DIRS:%=-I%) -MMD -MP -c $< -o $@
# Print ending message
core_end:
core_end: $(BUILD_DIR)/$(CORE_OUTPUT)
@echo "Built target $(CORE_OUTPUT)"
# Source files dependencies