diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-18 15:51:23 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-18 15:51:23 (GMT) |
commit | dec1221f0b14218ca7bdff7f201d34b17c233631 (patch) | |
tree | 7f28370e7522d96943ba704ed93caa259de2f8ef /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | cb512cd513748969a1d6e66112d1bbe143140748 (diff) | |
download | CMake-dec1221f0b14218ca7bdff7f201d34b17c233631.zip CMake-dec1221f0b14218ca7bdff7f201d34b17c233631.tar.gz CMake-dec1221f0b14218ca7bdff7f201d34b17c233631.tar.bz2 |
ENH: exclude borland make as well
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 9cd023e..b0f7662 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -738,21 +738,22 @@ cmLocalUnixMakefileGenerator3 makefileStream, "Disable implicit rules so canoncical targets will work.", ".SUFFIXES", no_depends, no_commands, false); - if(!this->NMake && !this->WatcomWMake) + if(!this->NMake && !this->WatcomWMake && !this->BorlandMakeCurlyHack) { // turn off RCS and SCCS automatic stuff from gmake - makefileStream << "# Remove some rules from gmake that .SUFFIXES does not remove.\n" - << "# This makes gmake faster as it does not try to run implicit rules\n" - << "# on targets that never exist.\n" - << "SUFFIXES =\n" - << "%: %,v\n" - << "%: RCS/%,v\n" - << "%: RCS/%\n" - << "%: s.%\n" - << "%: %.w\n" - << "%.c: %.w %.ch\n" - << "%: %.tex\n" - << "%: SCCS/s.%\n\n"; + makefileStream + << "# Remove some rules from gmake that .SUFFIXES does not remove.\n" + << "# This makes gmake faster as it does not try to run implicit rules\n" + << "# on targets that never exist.\n" + << "SUFFIXES =\n" + << "%: %,v\n" + << "%: RCS/%,v\n" + << "%: RCS/%\n" + << "%: s.%\n" + << "%: %.w\n" + << "%.c: %.w %.ch\n" + << "%: %.tex\n" + << "%: SCCS/s.%\n\n"; } // Add a fake suffix to keep HP happy. Must be max 32 chars for SGI make. std::vector<std::string> depends; |