summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-06 17:06:23 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-09-06 17:06:23 (GMT)
commit25ff4552b3d17c9c4f601c7f488710c4350323d1 (patch)
tree79475f5fb9965ad672bb85ae245130f63e632cce /Source/cmLocalUnixMakefileGenerator.cxx
parent2c7e9b3b59cda840adc2aa4c3bfe1ffa0707be99 (diff)
downloadCMake-25ff4552b3d17c9c4f601c7f488710c4350323d1.zip
CMake-25ff4552b3d17c9c4f601c7f488710c4350323d1.tar.gz
CMake-25ff4552b3d17c9c4f601c7f488710c4350323d1.tar.bz2
new arch
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index 76cf511..2d4876e 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -97,7 +97,9 @@ void cmLocalUnixMakefileGenerator::Generate(bool fromTheTop)
this->ProcessDepends(md);
}
// output the makefile fragment
- this->OutputMakefile("Makefile", !fromTheTop);
+ std::string dest = m_Makefile->GetStartOutputDirectory();
+ dest += "/Makefile";
+ this->OutputMakefile(dest.c_str(), !fromTheTop);
}
void cmLocalUnixMakefileGenerator::ProcessDepends(const cmMakeDepend &md)