Преглед изворни кода

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())
           {
-          fout << (*source)->GetSourceName() << m_ObjectFileExtension << " :";
           // Iterate through all the dependencies for this source.
           for(std::vector<std::string>::const_iterator dep =
                 (*source)->GetDepends().begin();
               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;
             }
           fout << "\n\n";