summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBerk Geveci <berk.geveci@kitware.com>2002-02-01 18:07:27 (GMT)
committerBerk Geveci <berk.geveci@kitware.com>2002-02-01 18:07:27 (GMT)
commit081314989679fa939f20b53b2bd211286adceb83 (patch)
tree9ef7687c0aefc73e3860753d19d29229a2f13a20 /Source/cmUnixMakefileGenerator.cxx
parent1bde29e9bd02a70ec41848ca7a6337982fc6bcfb (diff)
downloadCMake-081314989679fa939f20b53b2bd211286adceb83.zip
CMake-081314989679fa939f20b53b2bd211286adceb83.tar.gz
CMake-081314989679fa939f20b53b2bd211286adceb83.tar.bz2
Better support for parallel builds. Subdirs depend on their parent.
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 916f95a..9be86b4 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