summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-05-02 13:56:42 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-05-02 13:56:42 (GMT)
commit3023eb7ccb1cd56cdfefabe058ac5df7c80b1567 (patch)
treefda49a12fe1ed7bc56647a71da10458ebd1193f0 /Source/cmLocalUnixMakefileGenerator3.cxx
parent2324e7ec5d1c22a94a7c368c182becc451f52c57 (diff)
downloadCMake-3023eb7ccb1cd56cdfefabe058ac5df7c80b1567.zip
CMake-3023eb7ccb1cd56cdfefabe058ac5df7c80b1567.tar.gz
CMake-3023eb7ccb1cd56cdfefabe058ac5df7c80b1567.tar.bz2
ENH: Makefile performance improvements
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 85c749a..bfbe26b 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -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();