mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
nmk: don't use the FORCE, Luke!
With GNU make, using .PHONY leads to the same result as using the "FORCE" hack, but unlike FORCE is not a hack. Since we do not plan to use any other make implementation than GNU make, let's not provide FORCE in nmk. For more details about why PHONY is better than FORCE, see http://www.gnu.org/software/make/manual/make.html#index-FORCE Signed-off-by: Kir Kolyshkin <kir@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
2edc082e07
commit
60404df396
@@ -50,10 +50,6 @@ export build
|
||||
build-as := -r -R -f $(__nmk_dir)main.mk makefile=$$(1) obj=$$(2)
|
||||
export build-as
|
||||
|
||||
#
|
||||
# Dummy target for force building.
|
||||
FORCE: ;
|
||||
|
||||
#
|
||||
# Footer.
|
||||
$(__nmk_dir)scripts/include.mk:
|
||||
|
Reference in New Issue
Block a user