Commit 726a1180 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

make: Make protobuf target to depend on *.ch

Our general source code depends on headers
generated during protobuf library building
but if library is already built and *.ch
files are removed we might hit a problem
where dep files can't be generated.

Thus add explicit rule pointing out that
library depends on generated *.ch files.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 40688d19
...@@ -61,7 +61,7 @@ $(PROTO_LIBRARY): $(PROTO_OBJS) ...@@ -61,7 +61,7 @@ $(PROTO_LIBRARY): $(PROTO_OBJS)
.PHONY: protobuf .PHONY: protobuf
protobuf: $(PROTO_LIBRARY) protobuf: $(PROTO_LIBRARY) $(PROTO_SRCS) $(PROTO_HDRS)
clean: clean:
$(E) " CLEAN PROTOBUF" $(E) " CLEAN PROTOBUF"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment