Skip to content

Commit

Permalink
Merge pull request #422 from PaulGrandperrin/patch-1
Browse files Browse the repository at this point in the history
Makefile.port: fix dependencies for parallel compilation
  • Loading branch information
fgsfdsfgs authored Apr 25, 2024
2 parents b4f7f46 + 73dc52c commit a0f8550
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile.port
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export ROMID

BIN := $(B_DIR)/$(BIN_NAME)

default: $(JSON_HEADERS) $(BIN)
default: $(BIN)

################################################################################
# Asset Manager header generation
Expand Down Expand Up @@ -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 $@ $<

Expand Down

0 comments on commit a0f8550

Please sign in to comment.