summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-06 20:30:24 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-09-06 20:30:24 (GMT)
commit41628d2602733993d74a24cc557083a6a007c845 (patch)
tree93eb8642f73fac3258e716956a6dc07d6089b272 /Source
parent979bd1ec6122ff75551107fcad57de405eb6fa16 (diff)
downloadCMake-41628d2602733993d74a24cc557083a6a007c845.zip
CMake-41628d2602733993d74a24cc557083a6a007c845.tar.gz
CMake-41628d2602733993d74a24cc557083a6a007c845.tar.bz2
updated to fix the long depend line issue on Borland
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index 2d4876e..31e431d 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -1339,7 +1339,6 @@ void cmLocalUnixMakefileGenerator::OutputCheckDepends(std::ostream& fout)
fout << "default:\n";
fout << "\t$(MAKE) $(MAKESILENT) -f cmake.check_depends all\n"
<< "\t$(MAKE) $(MAKESILENT) -f cmake.check_depends cmake.depends\n\n";
- fout << "all: ";
for(std::map<cmStdString, cmTarget>::const_iterator target = targets.begin();
target != targets.end(); ++target)
{
@@ -1363,7 +1362,7 @@ void cmLocalUnixMakefileGenerator::OutputCheckDepends(std::ostream& fout)
if(emittedLowerPath.insert(lowerpath).second)
{
emitted.insert(dependfile);
- fout << " \\\n" << dependfile ;
+ fout << "all:: " << dependfile << "\n";
}
}
}
@@ -1371,13 +1370,12 @@ void cmLocalUnixMakefileGenerator::OutputCheckDepends(std::ostream& fout)
}
}
fout << "\n\n# if any of these files changes run make dependlocal\n";
- fout << "cmake.depends: ";
std::set<std::string>::iterator i;
for(i = emitted.begin(); i != emitted.end(); ++i)
{
- fout << " \\\n" << *i;
+ fout << "cmake.depends:: " << *i <<
+ "\n\t$(MAKE) $(MAKESILENT) dependlocal\n\n";
}
- fout << "\n\t$(MAKE) $(MAKESILENT) dependlocal\n\n";
fout << "\n\n";
fout << "# if a .h file is removed then run make dependlocal\n\n";
for(std::set<std::string>::iterator i = emitted.begin();