aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2013-06-14 16:30:11 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2013-06-14 16:30:11 +0000
commitd31870574cfb30b4a084a3a566d8d3fc7c8bb11b (patch)
tree317c547b327a7d5350246671986e0bdfaed1193c /Makefile
parenta7e08b461edd1a5322ab0c8ebb45e93dbe927f2c (diff)
Notes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5ff68a8421f1..b3015c527ef5 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}