2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-09-02 07:15:31 +00:00

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: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov
2012-09-02 00:59:25 +04:00
committed by Pavel Emelyanov
parent 40688d1945
commit 726a1180aa

View File

@@ -61,7 +61,7 @@ $(PROTO_LIBRARY): $(PROTO_OBJS)
.PHONY: protobuf
protobuf: $(PROTO_LIBRARY)
protobuf: $(PROTO_LIBRARY) $(PROTO_SRCS) $(PROTO_HDRS)
clean:
$(E) " CLEAN PROTOBUF"