From 122ef73e3a9375925fe9be0c8f7a8328b11b2bac Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 17 Aug 2005 16:05:48 -0400 Subject: BUG: Do not make a file depend on a virtual target. That causes everything to always rebuild. --- Source/cmLocalUnixMakefileGenerator3.cxx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 5fbf5fe..2ca5731 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -602,14 +602,6 @@ cmLocalUnixMakefileGenerator3 flags.c_str()); } - // Add dependencies known at CMake time. - std::string relativeObjDeps = relativeObj; - relativeObjDeps += "/depend"; - this->WriteMakeRule(ruleFileStream, 0, - relativeObjDeps.c_str(), depends, no_commands); - depends.clear(); - depends.push_back(relativeObjDeps); - // Make the target dependency scanning rule include cmake-time-known // dependencies. The others are handled by the check-build-system // path. -- cgit v0.12