BUG: Fix make depend target in subdirectory Makefile interface.

This commit is contained in:
Brad King 2007-12-19 17:54:24 -05:00
parent 73704ede42
commit 011d7db6bd
1 changed files with 3 additions and 0 deletions

View File

@ -1650,6 +1650,9 @@ void cmLocalUnixMakefileGenerator3
cmLocalGenerator::SHELL);
runRule += " 1";
commands.push_back(runRule);
this->CreateCDCommand(commands,
this->Makefile->GetHomeOutputDirectory(),
this->Makefile->GetStartOutputDirectory());
this->WriteMakeRule(ruleFileStream, "clear depends",
"depend",
depends, commands, true);