From 60404df396272ef155d4af3fa016b9eb2ba84800 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Wed, 24 Feb 2016 12:29:58 -0800 Subject: [PATCH] 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 Signed-off-by: Pavel Emelyanov --- scripts/nmk/scripts/include.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/nmk/scripts/include.mk b/scripts/nmk/scripts/include.mk index 7fe095312..546b56bf9 100644 --- a/scripts/nmk/scripts/include.mk +++ b/scripts/nmk/scripts/include.mk @@ -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: