diff options
author | Brad King <brad.king@kitware.com> | 2007-08-02 13:37:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-08-02 13:37:10 (GMT) |
commit | cd6abe486d271940719c673dd5e75f911f428dbd (patch) | |
tree | 7a3f6a29c1a9447e8ffdcae55ce8c781d9c908da /Source/cmMakefileExecutableTargetGenerator.cxx | |
parent | 674b8a7aab9ae4f310cb44420bce9263404c8818 (diff) | |
download | CMake-cd6abe486d271940719c673dd5e75f911f428dbd.zip CMake-cd6abe486d271940719c673dd5e75f911f428dbd.tar.gz CMake-cd6abe486d271940719c673dd5e75f911f428dbd.tar.bz2 |
ENH: Simplify makefile target generator listing of object files to clean.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileExecutableTargetGenerator.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index 94f1bdf..17b2578 100644 --- a/Source/cmMakefileExecutableTargetGenerator.cxx +++ b/Source/cmMakefileExecutableTargetGenerator.cxx @@ -474,12 +474,8 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink) // Write the main driver rule to build everything in this target. this->WriteTargetDriverRule(targetFullPath.c_str(), relink); - // Clean all the possible executable names and symlinks and object files. + // Clean all the possible executable names and symlinks. this->CleanFiles.insert(this->CleanFiles.end(), exeCleanFiles.begin(), exeCleanFiles.end()); - this->CleanFiles.insert(this->CleanFiles.end(), - this->Objects.begin(), - this->Objects.end()); } - |