summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-12-11 15:59:33 -0500
committerBrad King <brad.king@kitware.com>2001-12-11 15:59:33 -0500
commit4108b224863f37d920d959fefe75f2187d9f44e6 (patch)
treefd534cde4f4c9e1a6707724eab717042fe2326bc /Source
parente0aee2e9887521bd51faa03f038408e07e6b6530 (diff)
downloadcmake-4108b224863f37d920d959fefe75f2187d9f44e6.tar.gz
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')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 56c0aaf1a8..7ae25d5beb 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);