mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-08-04 15:53:44 +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:
parent
2edc082e07
commit
60404df396
1 changed files with 0 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue