summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-01-23 16:22:48 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-01-23 16:22:48 (GMT)
commitcfe6aee59b341f8819a17e008b09acfd3dc3f37a (patch)
tree48934d24c5ac93ea6b616fddc0d7eeea1b6a8d95 /Source
parented1c2573aa39b2773002f7bc09b3908a33771053 (diff)
downloadCMake-cfe6aee59b341f8819a17e008b09acfd3dc3f37a.zip
CMake-cfe6aee59b341f8819a17e008b09acfd3dc3f37a.tar.gz
CMake-cfe6aee59b341f8819a17e008b09acfd3dc3f37a.tar.bz2
ENH: convert the .o files to not have ./
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index d7961bb..17a1032 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -538,7 +538,7 @@ void cmLocalUnixMakefileGenerator::OutputTargetRules(std::ostream& fout)
if(outExt.size())
{
fout << "\\\n"
- << this->ConvertToRelativeOutputPath((*i)->GetSourceName().c_str())
+ << this->ConvertToMakeTarget(this->ConvertToRelativeOutputPath((*i)->GetSourceName().c_str()).c_str())
<< outExt.c_str() << " ";
}
}
@@ -554,7 +554,7 @@ void cmLocalUnixMakefileGenerator::OutputTargetRules(std::ostream& fout)
std::string outExt(this->GetOutputExtension((*i)->GetSourceExtension().c_str()));
if(outExt.size())
{
- fout << "\\\n\"" << this->ConvertToRelativeOutputPath((*i)->GetSourceName().c_str())
+ fout << "\\\n\"" << this->ConvertToMakeTarget(ConvertToRelativeOutputPath((*i)->GetSourceName().c_str()).c_str())
<< outExt.c_str() << "\" ";
}
}