mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 09:05:10 +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:
parent
40688d1945
commit
726a1180aa
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ $(PROTO_LIBRARY): $(PROTO_OBJS)
|
|||
|
||||
.PHONY: protobuf
|
||||
|
||||
protobuf: $(PROTO_LIBRARY)
|
||||
protobuf: $(PROTO_LIBRARY) $(PROTO_SRCS) $(PROTO_HDRS)
|
||||
|
||||
clean:
|
||||
$(E) " CLEAN PROTOBUF"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue