ENH: Makefile performance improvements

This commit is contained in:
Ken Martin
2006-05-02 09:56:42 -04:00
parent 2324e7ec5d
commit 3023eb7ccb
6 changed files with 206 additions and 123 deletions
+5
View File
@@ -1418,6 +1418,11 @@ void cmLocalUnixMakefileGenerator3
this->Makefile->GetStartOutputDirectory());
this->WriteMakeRule(ruleFileStream, "The main clean target", "clean",
depends, commands, true);
commands.clear();
depends.clear();
depends.push_back("clean");
this->WriteMakeRule(ruleFileStream, "The main clean target", "clean/fast",
depends, commands, true);
// Write the preinstall rule.
dir = this->Makefile->GetStartOutputDirectory();