From 73dc52cfd6cc3032595a9e0accbb901af53d2485 Mon Sep 17 00:00:00 2001 From: Paul Grandperrin Date: Thu, 25 Apr 2024 12:49:36 +0200 Subject: [PATCH] Makefile.port: fix dependencies for parallel compilation --- Makefile.port | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.port b/Makefile.port index b8ebadb12..d6a6699d4 100644 --- a/Makefile.port +++ b/Makefile.port @@ -271,7 +271,7 @@ export ROMID BIN := $(B_DIR)/$(BIN_NAME) -default: $(JSON_HEADERS) $(BIN) +default: $(BIN) ################################################################################ # Asset Manager header generation @@ -309,11 +309,11 @@ ifneq ($(CV2PDB),) $(CV2PDB) $(BIN) endif -$(B_DIR)/%.o: %.c +$(B_DIR)/%.o: %.c $(JSON_HEADERS) @mkdir -p $(dir $@) $(CC) -c $(CFLAGS) $(OPT_LVL) -o $@ $< -$(B_DIR)/%.o: %.cpp +$(B_DIR)/%.o: %.cpp $(JSON_HEADERS) @mkdir -p $(dir $@) $(CXX) -c $(CXXFLAGS) $(OPT_LVL) -o $@ $<