summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5ff68a8..b3015c5 100644
--- a/Makefile
+++ b/Makefile
@@ -209,6 +209,12 @@ cleanworld:
# Handle the user-driven targets, using the source relative mk files.
#
+.if empty(.MAKEFLAGS:M-n)
+# skip this for -n to avoid changing previous behavior of
+# 'make -n buildworld' etc.
+${TGTS}: .MAKE
+.endif
+
${TGTS}:
${_+_}@cd ${.CURDIR}; ${_MAKE} ${.TARGET}
OpenPOWER on IntegriCloud