Skip to content

Commit

Permalink
Merge pull request BVLC#6048 from sclarkson/master
Browse files Browse the repository at this point in the history
Fix Makefile parallel builds missing protobuf header
  • Loading branch information
Noiredd authored Jan 10, 2018
2 parents e963ef4 + fbdc1e1 commit 7e97067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ $(STATIC_NAME): $(OBJS) | $(LIB_BUILD_DIR)
@ echo AR -o $@
$(Q)ar rcs $@ $(OBJS)

$(BUILD_DIR)/%.o: %.cpp | $(ALL_BUILD_DIRS)
$(BUILD_DIR)/%.o: %.cpp $(PROTO_GEN_HEADER) | $(ALL_BUILD_DIRS)
@ echo CXX $<
$(Q)$(CXX) $< $(CXXFLAGS) -c -o $@ 2> $@.$(WARNS_EXT) \
|| (cat $@.$(WARNS_EXT); exit 1)
Expand Down

0 comments on commit 7e97067

Please sign in to comment.