[CRIU] [PATCH] Makefile: add .FORCE target
Cyrill Gorcunov
gorcunov at gmail.com
Wed May 25 10:40:05 PDT 2016
On Wed, May 25, 2016 at 08:12:15PM +0300, Dmitry Safonov wrote:
> Sorry for introducing that, but we need to force-rebuild implicit
> rules on the level of main Makefile. All the sub-makefiles should
> decide if the force-rebuilding target really needs a rebuild,
> because they know it's dependencies.
>
> Pattern-specific rules are implicit, so something like:
> .PHONY: compel/% criu/% #...
> will not work.
> .FORCE target seems the simplest way to solve this
> "going to submake on rebuild" problem.
> But maybe there is more elegant proposal?
None I know of. IIRC kernel uses the same trick.
Acked-by: Cyrill Gorcunov <gorcunov at openvz.org>
More information about the CRIU
mailing list