From 081314989679fa939f20b53b2bd211286adceb83 Mon Sep 17 00:00:00 2001 From: Berk Geveci Date: Fri, 1 Feb 2002 13:07:27 -0500 Subject: [PATCH] Better support for parallel builds. Subdirs depend on their parent. --- Source/cmUnixMakefileGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index 916f95a6dc..9be86b486e 100644 --- a/Source/cmUnixMakefileGenerator.cxx +++ b/Source/cmUnixMakefileGenerator.cxx @@ -1135,7 +1135,7 @@ OutputSubDirectoryVars(std::ostream& fout, for(unsigned int i =0; i < SubDirectories.size(); i++) { std::string subdir = FixDirectoryName(SubDirectories[i].c_str()); - fout << target << "_" << subdir.c_str() << ":"; + fout << target << "_" << subdir.c_str() << ": $(TARGETS)"; // Make each subdirectory depend on previous one. This forces // parallel builds (make -j 2) to build in same order as a single