diff --git a/Makefile.common b/Makefile.common index 65bb19be1d2..e3599bb9d0c 100644 --- a/Makefile.common +++ b/Makefile.common @@ -432,7 +432,7 @@ $(BUILD_ROOT)/Release/%.o: %.cpp $(BUILD_ROOT)/Release/.dir $(VERB) $(CompileO) $< -o $@ $(BUILD_ROOT)/Release/%.o: %.c $(BUILD_ROOT)/Release/.dir - $(VERB) $(CompileOC) $< -o $@ + $(VERB) $(CompileCO) $< -o $@ $(BUILD_ROOT)/Profile/%.o: %.cpp $(BUILD_ROOT)/Profile/.dir @echo "Compiling $<" diff --git a/Makefile.rules b/Makefile.rules index 65bb19be1d2..e3599bb9d0c 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -432,7 +432,7 @@ $(BUILD_ROOT)/Release/%.o: %.cpp $(BUILD_ROOT)/Release/.dir $(VERB) $(CompileO) $< -o $@ $(BUILD_ROOT)/Release/%.o: %.c $(BUILD_ROOT)/Release/.dir - $(VERB) $(CompileOC) $< -o $@ + $(VERB) $(CompileCO) $< -o $@ $(BUILD_ROOT)/Profile/%.o: %.cpp $(BUILD_ROOT)/Profile/.dir @echo "Compiling $<"