Browse Source

ENH: convert the .o files to not have ./

Bill Hoffman 22 years ago
parent
commit
cfe6aee59b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/cmLocalUnixMakefileGenerator.cxx

+ 2 - 2
Source/cmLocalUnixMakefileGenerator.cxx

@@ -538,7 +538,7 @@ void cmLocalUnixMakefileGenerator::OutputTargetRules(std::ostream& fout)
           if(outExt.size())
           if(outExt.size())
             {
             {
             fout << "\\\n" 
             fout << "\\\n" 
-                 << this->ConvertToRelativeOutputPath((*i)->GetSourceName().c_str())
+                 << this->ConvertToMakeTarget(this->ConvertToRelativeOutputPath((*i)->GetSourceName().c_str()).c_str())
                  << outExt.c_str() << " ";
                  << outExt.c_str() << " ";
             }
             }
           }
           }
@@ -554,7 +554,7 @@ void cmLocalUnixMakefileGenerator::OutputTargetRules(std::ostream& fout)
           std::string outExt(this->GetOutputExtension((*i)->GetSourceExtension().c_str()));
           std::string outExt(this->GetOutputExtension((*i)->GetSourceExtension().c_str()));
           if(outExt.size())
           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() << "\" ";
                  << outExt.c_str() << "\" ";
             }
             }
           }
           }