summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2013-03-26 20:58:55 +0000
committerTim Angus <tim@ngus.net>2013-03-27 11:33:16 +0000
commit2404c3928f81ace10d23f32c427d61d776b43341 (patch)
tree292f5c6d325e1b4d092c74d6d11d3aef5dfe71e5 /Makefile
parenta346485d7fea42f330e5b69f8ccb89c2719d0cd9 (diff)
Fix 'make -jX clean release'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f80c9dd7..ddabdf2c 100644
--- a/Makefile
+++ b/Makefile
@@ -2348,3 +2348,8 @@ endif
release targets \
toolsclean toolsclean2 toolsclean-debug toolsclean-release \
$(OBJ_D_FILES) $(TOOLSOBJ_D_FILES)
+
+# If the target name contains "clean", don't do a parallel build
+ifneq ($(findstring clean, $(MAKECMDGOALS)),)
+.NOTPARALLEL:
+endif