diff options
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index e400163..3ec828b 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -485,7 +485,8 @@ void cmMakefileTargetGenerator::WriteTargetCleanRules() cleanTarget += "/clean"; // Construct the clean command. - this->LocalGenerator->AppendCleanCommand(commands, this->CleanFiles); + this->LocalGenerator->AppendCleanCommand(commands, this->CleanFiles, + *this->Target); this->LocalGenerator->CreateCDCommand(commands, this->Makefile->GetStartOutputDirectory(), this->Makefile->GetHomeOutputDirectory()); @@ -605,7 +606,7 @@ void cmMakefileTargetGenerator::WriteCustomCommands() this->CleanFiles.push_back (this->Convert(cc->GetOutput(), cmLocalGenerator::START_OUTPUT, - cmLocalGenerator::SHELL)); + cmLocalGenerator::UNCHANGED)); } } } |