diff --git a/cpp/Makefile b/cpp/Makefile index 7e33ee2ae0..8958a1ddbc 100644 --- a/cpp/Makefile +++ b/cpp/Makefile @@ -157,7 +157,7 @@ $(SRC_GENERATED) : $(SRC_PROTOC) protoc --cpp_out=$(GENERATED_DIR) $(SRC_PROTOC) mv $(GENERATED_DIR)/piscsi_interface.pb.cc $@ -$(OBJ_GENERATED) : $(SRC_GENERATED) $(OBJDIR) +$(OBJ_GENERATED) : $(SRC_GENERATED) $(CXX) $(CXXFLAGS) -c $< -o $@ ## Build Targets: