X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=libraries%2FMakefile;h=8d9bd710d50191bc98af67c98cf9fef4b0856aa5;hp=0ef78d89cf9a95c34b248f13cab7f62c66371868;hb=ae1d4548d997731878e8c1220fc996a79f47a3e3;hpb=b802bbad8dc2a401c131264cbd08620179f8999b diff --git a/libraries/Makefile b/libraries/Makefile index 0ef78d8..8d9bd71 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -22,7 +22,7 @@ .PHONY: default_target -default_target: build +default_target: all # make doesn't give us an easy way to get the libraries built in # dependency order the first time, but not rebuild base (for example) @@ -168,6 +168,8 @@ endif $(foreach SUBDIR,$(SUBDIRS),rebuild.library.$(SUBDIR)):\ rebuild.library.%: clean.library.% make.library.% +# NB. we're depending on make chasing dependencies from left to right here. +# This bit goes wrong with 'make -j'. build: $(foreach SUBDIR,$(SUBDIRS),make.library.$(SUBDIR)) build: installPackage/installPackage