mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
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: Kir Kolyshkin <kir@openvz.org> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
parent
4b0bbb3da9
commit
cdd7858207
1 changed files with 4 additions and 3 deletions
7
Makefile
7
Makefile
|
|
@ -135,6 +135,10 @@ endif
|
|||
|
||||
CFLAGS += $(WARNINGS) $(DEFINES)
|
||||
|
||||
# Default target
|
||||
all: criu lib
|
||||
.PHONY: all
|
||||
|
||||
#
|
||||
# Version headers.
|
||||
include Makefile.versions
|
||||
|
|
@ -205,9 +209,6 @@ lib: criu
|
|||
$(Q) $(MAKE) -C lib all
|
||||
.PHONY: lib
|
||||
|
||||
all: criu lib
|
||||
.PHONY: all
|
||||
|
||||
subclean:
|
||||
$(call msg-clean, criu)
|
||||
$(Q) $(MAKE) -C lib clean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue