summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-19 22:54:24 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-19 22:54:24 (GMT)
commit011d7db6bd08df3dfc4ddea5afb1e478b25b9d83 (patch)
treef8d24f46ede307e9e73f60538e909459780445e3 /Source/cmLocalUnixMakefileGenerator3.cxx
parent73704ede42cdaa6e4a985329506d116db3425b3f (diff)
downloadCMake-011d7db6bd08df3dfc4ddea5afb1e478b25b9d83.zip
CMake-011d7db6bd08df3dfc4ddea5afb1e478b25b9d83.tar.gz
CMake-011d7db6bd08df3dfc4ddea5afb1e478b25b9d83.tar.bz2
BUG: Fix make depend target in subdirectory Makefile interface.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 9e18a58..c9885ae 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -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);