Commit 60404df3 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Pavel Emelyanov

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-FORCESigned-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 2edc082e
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment