summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-12-11 20:59:33 (GMT)
committerBrad King <brad.king@kitware.com>2001-12-11 20:59:33 (GMT)
commit4108b224863f37d920d959fefe75f2187d9f44e6 (patch)
treefd534cde4f4c9e1a6707724eab717042fe2326bc /Source/cmUnixMakefileGenerator.cxx
parente0aee2e9887521bd51faa03f038408e07e6b6530 (diff)
downloadCMake-4108b224863f37d920d959fefe75f2187d9f44e6.zip
CMake-4108b224863f37d920d959fefe75f2187d9f44e6.tar.gz
CMake-4108b224863f37d920d959fefe75f2187d9f44e6.tar.bz2
BUG: cmake.depends files of zero size were not being re-written in some cases. Added a comment output to the top of the file so it will be re-written every time.
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 56c0aaf..7ae25d5 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -266,6 +266,7 @@ void cmUnixMakefileGenerator::OutputMakefile(const char* file)
cmSystemTools::Error("Error can not open for write: ", dependName.c_str());
return;
}
+ dependout << "# .o dependencies in this directory." << std::endl;
this->OutputObjectDepends(dependout);
}
this->OutputCustomRules(fout);