Skip to content

Commit 8b2a16d

Browse files
committedAug 1, 2024
Build Objective-C++ files with the C++ compiler
1 parent 6ab07d2 commit 8b2a16d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ $(OBJ_DIR)/%.o: $(SRC_DIR)/%.cpp $(DEP) | $(OBJ_DIR)
508508

509509
$(OBJ_DIR)/%.o: $(SRC_DIR)/%.mm $(DEP) | $(OBJ_DIR)
510510
$(CC_MSG)
511-
$(SILENT)$(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS) $(FE_FLAGS)
511+
$(SILENT)$(CXX) -c -o $@ $< $(CXXFLAGS) $(CPPFLAGS) $(FE_FLAGS)
512512

513513
$(EXE): $(OBJ) $(EXPAT) $(SQUIRREL) $(AUDIO)
514514
$(EXE_MSG)

0 commit comments

Comments
 (0)
Please sign in to comment.