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); - } }