From: Ian Lynagh Date: Fri, 29 May 2009 17:57:48 +0000 (+0000) Subject: Tweak mk/sub-makefile.mk X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=c40387edc47e28241cc4f52b0fdf49e60bc234c6 Tweak mk/sub-makefile.mk --- diff --git a/mk/sub-makefile.mk b/mk/sub-makefile.mk index 1d41bd1..031d62a 100644 --- a/mk/sub-makefile.mk +++ b/mk/sub-makefile.mk @@ -14,13 +14,11 @@ TOPMAKE = $(MAKE) -C $(TOP) -default : - +$(TOPMAKE) all_$(dir) +default: all # We must not execute multiple recursive invocations of make in parallel. .NOTPARALLEL: -# all comes first, we want it to be the default target STD_TARGETS = all clean distclean maintainer_clean install html ps pdf # The + tells make that we're recursively invoking make, otherwise 'make -j2'