浏览代码

one rule per line so borland make does not die

Bill Hoffman 23 年之前
父节点
当前提交
cc0e0d5660
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      Source/cmLocalUnixMakefileGenerator.cxx

+ 2 - 3
Source/cmLocalUnixMakefileGenerator.cxx

@@ -1308,14 +1308,13 @@ bool cmLocalUnixMakefileGenerator::OutputObjectDepends(std::ostream& fout)
         {
         {
         if(!(*source)->GetDepends().empty())
         if(!(*source)->GetDepends().empty())
           {
           {
-          fout << (*source)->GetSourceName() << m_ObjectFileExtension << " :";
           // Iterate through all the dependencies for this source.
           // Iterate through all the dependencies for this source.
           for(std::vector<std::string>::const_iterator dep =
           for(std::vector<std::string>::const_iterator dep =
                 (*source)->GetDepends().begin();
                 (*source)->GetDepends().begin();
               dep != (*source)->GetDepends().end(); ++dep)
               dep != (*source)->GetDepends().end(); ++dep)
             {
             {
-            fout << " \\\n" 
-                 << cmSystemTools::ConvertToOutputPath(dep->c_str());
+            fout << (*source)->GetSourceName() << m_ObjectFileExtension << " : "
+                 << cmSystemTools::ConvertToOutputPath(dep->c_str()) << "\n";
             ret = true;
             ret = true;
             }
             }
           fout << "\n\n";
           fout << "\n\n";