Commit 37dd509f authored by Stanislav Kinsbursky's avatar Stanislav Kinsbursky Committed by Pavel Emelyanov

protobuf: rename default make target from "all" to "protobuf"

Otherwise it look strange when nothing to compile and make says that target
"all" doesn't require to be rebuild.
Signed-off-by: 's avatarStanislav Kinsbursky <skinsbursky@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 92e6a309
......@@ -79,7 +79,7 @@ all: protobuf pie
pie: $(PIE-GEN)
protobuf:
$(Q) $(MAKE) -C protobuf/ all
$(Q) $(MAKE) -C protobuf/
%.o: %.c
$(E) " CC " $@
......
......@@ -55,7 +55,7 @@ HDRS := $(patsubst %.proto,%.pb-c.h,$(PROTO_FILES))
SRCS := $(patsubst %.proto,%.pb-c.c,$(PROTO_FILES))
OBJS := $(patsubst %.c,%.o,$(SRCS))
.DEFAULT_GOAL := all
.DEFAULT_GOAL := protobuf
%.pb-c.c: %.proto
$(E) " PROTOBUF "$@
......@@ -71,9 +71,9 @@ $(LIBRARY): $(OBJS)
$(E) " LINK "$@
$(Q) ld -r -o $@ $(OBJS)
.PHONY: all clean
.PHONY: protobuf
all: $(LIBRARY)
protobuf: $(LIBRARY)
clean:
$(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