[CRIU] [PATCH 1/3] Makefile: implicit default goal

Cyrill Gorcunov gorcunov at gmail.com
Wed Oct 5 00:22:46 PDT 2016


On Tue, Oct 04, 2016 at 06:58:51PM -0700, Kir Kolyshkin wrote:
> Since commit e6dcf46 there is no need to specify the default goal
> explicitly. The common convention for Makefiles is the first goal
> that is there is the default one, so most universally there's "all:"
> goal somewhere at the beginning. Let's do the same thing, moving
> the "all:" target up and removing the DEFAULT_GOAL.
> 
> Cc: Cyrill Gorcunov <gorcunov at openvz.org>
> Signed-off-by: Kir Kolyshkin <kir at openvz.org>
>  
> -.DEFAULT_GOAL := all

You know, I'm not happy with removing explicit default goal.
This forces to remember that if you add some another target
earlier it become the main one. I would prefer to keep it
explicitly.


More information about the CRIU mailing list