diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-07-27 15:42:46 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-07-27 15:42:46 (GMT) |
commit | 50cf415b2c15f8f8f3adf0ca4898cf7e0579484d (patch) | |
tree | b6f52e0641c65de17b947b2b25b3d272b1c24938 /Source | |
parent | 33efcc442bbe8a2981113861e8f828732b72f127 (diff) | |
download | CMake-50cf415b2c15f8f8f3adf0ca4898cf7e0579484d.zip CMake-50cf415b2c15f8f8f3adf0ca4898cf7e0579484d.tar.gz CMake-50cf415b2c15f8f8f3adf0ca4898cf7e0579484d.tar.bz2 |
ENH: maybe fix fortran issue
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index aab55f9..d11c7ca 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -546,11 +546,8 @@ cmLocalUnixMakefileGenerator3 // corresponding targets. std::string objectRequires = relativeObj; objectRequires += ".requires"; - std::string temp = relativeObj; - temp += ".depend"; std::vector<std::string> no_commands; std::vector<std::string> p_depends; - p_depends.push_back(temp); // always provide an empty requires target this->WriteMakeRule(ruleFileStream, 0, objectRequires.c_str(), p_depends, no_commands); @@ -558,7 +555,7 @@ cmLocalUnixMakefileGenerator3 // write a build rule to recursively build what this obj provides std::string objectProvides = relativeObj; objectProvides += ".provides"; - temp = relativeObj; + std::string temp = relativeObj; temp += ".provides.build"; std::vector<std::string> r_commands; std::string tgtMakefileName = this->GetRelativeTargetDirectory(target); @@ -755,12 +752,8 @@ cmLocalUnixMakefileGenerator3 if(checker.get()) { // Check the dependencies. Ths is required because we need at least an - // empty foo.obj.depends.make for make to include, so at cmake time the + // empty depends.make for make to include, so at cmake time the // ::Check() method will generate that if it does not exist - - - // Todo: could just make sure that file exists, - // use different method not check checker->Check(objFile); return true; |