From 358b947072d8f62fb7f812a1250e39a57668b0bf Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 20 Sep 2006 12:13:50 -0400 Subject: [PATCH] BUG: cmake_force needs to be written into build.make as well as Makefile. --- Source/cmLocalUnixMakefileGenerator3.cxx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 1e968d90d..aee339271 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -738,6 +738,17 @@ cmLocalUnixMakefileGenerator3 no_commands, false); } + // Special symbolic target that never exists to force dependers to + // run their rules. + { + std::vector no_depends; + std::vector no_commands; + this->WriteMakeRule + (makefileStream, + "A target that is always out of date.", + "cmake_force", no_depends, no_commands, true); + } + // Variables for reference by other rules. this->WriteMakeVariables(makefileStream); } @@ -782,17 +793,6 @@ void cmLocalUnixMakefileGenerator3 no_depends, commands, true); } - - // Special symbolic target that never exists to force dependers to - // run their rules. - { - std::vector no_depends; - std::vector no_commands; - this->WriteMakeRule - (makefileStream, - "A target that is always out of date.", - "cmake_force", no_depends, no_commands, true); - } }