diff options
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index d3da5bb..265dee7 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -519,15 +519,6 @@ cmMakefileTargetGenerator this->LocalGenerator->ExpandRuleVariables(*i, vars); } - // Make the target dependency scanning rule include cmake-time-known - // dependencies. The others are handled by the check-build-system - // path. - std::string depMark = - this->LocalGenerator->GetRelativeTargetDirectory(*this->Target); - depMark += "/depend.make.mark"; - this->LocalGenerator->WriteMakeRule(*this->BuildFileStream, 0, - depMark.c_str(), - depends, no_commands, false); // Write the rule. this->LocalGenerator->WriteMakeRule(*this->BuildFileStream, 0, @@ -793,21 +784,6 @@ void cmMakefileTargetGenerator::WriteTargetDependRules() this->LocalGenerator->GetRelativeTargetDirectory(*this->Target); depTarget += "/depend"; - std::string depMark = depTarget; - depMark += ".make.mark"; - depends.push_back(depMark); - - this->LocalGenerator->WriteMakeRule(*this->BuildFileStream, 0, - depTarget.c_str(), - depends, commands, true); - depends.clear(); - - // Write the dependency generation rule. - std::string depEcho = "Scanning dependencies of target "; - depEcho += this->Target->GetName(); - this->LocalGenerator->AppendEcho(commands, depEcho.c_str(), - cmLocalUnixMakefileGenerator3::EchoDepend); - // Add a command to call CMake to scan dependencies. CMake will // touch the corresponding depends file after scanning dependencies. cmOStringStream depCmd; @@ -859,7 +835,7 @@ void cmMakefileTargetGenerator::WriteTargetDependRules() // Write the rule. this->LocalGenerator->WriteMakeRule(*this->BuildFileStream, 0, - depMark.c_str(), + depTarget.c_str(), depends, commands, false); } |