Commit 3234308d authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

make: Fix build bug introduced in 726a1180

In 726a1180 we made protobuf library to depend
on *.ch which is good thing but a bit incomplete.
We need a rule to generate headers if they are
missed.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 582df513
...@@ -45,11 +45,11 @@ PROTO_OBJS := $(patsubst %.c,%.o,$(PROTO_SRCS)) ...@@ -45,11 +45,11 @@ PROTO_OBJS := $(patsubst %.c,%.o,$(PROTO_SRCS))
.DEFAULT_GOAL := protobuf .DEFAULT_GOAL := protobuf
%.pb-c.c: %.proto %.pb-c.c %.pb-c.h: %.proto
$(E) " PROTOBUF "$@ $(E) " PROTOBUF "$@
$(Q) protoc-c --c_out=./ $< $(Q) protoc-c --c_out=./ $<
%.o: %.c %.o: %.c %.h
$(E) " CC "$@ $(E) " CC "$@
$(Q) $(CC) -c $(CFLAGS) $< -o $@ $(Q) $(CC) -c $(CFLAGS) $< -o $@
......
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