summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-03-24 14:26:38 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-03-24 14:26:38 (GMT)
commita24ff4e453701b927959555ce7dab895870e6ae8 (patch)
tree4e30efdf26d5e5f8807d5a1e235938b0041fb28b /Source/cmLocalUnixMakefileGenerator3.cxx
parent962a69acd4a0ad901826a2bfa0d97eeb764d71f0 (diff)
downloadCMake-a24ff4e453701b927959555ce7dab895870e6ae8.zip
CMake-a24ff4e453701b927959555ce7dab895870e6ae8.tar.gz
CMake-a24ff4e453701b927959555ce7dab895870e6ae8.tar.bz2
ENH: add PHONY targets
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index b0f7662..2e93d8c 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -638,8 +638,11 @@ cmLocalUnixMakefileGenerator3
replace = *i;
os << "\t" << replace.c_str() << "\n";
}
+ if(symbolic)
+ {
+ os << ".PHONY : " << tgt.c_str() << "\n";
+ }
os << "\n";
-
// Add the output to the local help if requested.
if(in_help)
{