Commit cdd78582 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Pavel Emelyanov

Makefile: move default goal up

Since commit e6dcf46 there is no need to specify the default goal
explicitly.

The common convention for Makefiles is the first goal in the file
is the default one, so most universally there's "all:" goal
at the beginning. Let's adhere to this convention, moving
the "all:" up where it is to be expected.

[v2: keep the DEFAULT_GOAL for clarity]

Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 4b0bbb3d
...@@ -135,6 +135,10 @@ endif ...@@ -135,6 +135,10 @@ endif
CFLAGS += $(WARNINGS) $(DEFINES) CFLAGS += $(WARNINGS) $(DEFINES)
# Default target
all: criu lib
.PHONY: all
# #
# Version headers. # Version headers.
include Makefile.versions include Makefile.versions
...@@ -205,9 +209,6 @@ lib: criu ...@@ -205,9 +209,6 @@ lib: criu
$(Q) $(MAKE) -C lib all $(Q) $(MAKE) -C lib all
.PHONY: lib .PHONY: lib
all: criu lib
.PHONY: all
subclean: subclean:
$(call msg-clean, criu) $(call msg-clean, criu)
$(Q) $(MAKE) -C lib clean $(Q) $(MAKE) -C lib clean
......
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