ENH: exclude borland make as well

This commit is contained in:
Bill Hoffman 2008-03-18 11:51:23 -04:00
parent cb512cd513
commit dec1221f0b
1 changed files with 14 additions and 13 deletions

View File

@ -738,21 +738,22 @@ cmLocalUnixMakefileGenerator3
makefileStream, "Disable implicit rules so canoncical targets will work.", makefileStream, "Disable implicit rules so canoncical targets will work.",
".SUFFIXES", no_depends, no_commands, false); ".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 // turn off RCS and SCCS automatic stuff from gmake
makefileStream << "# Remove some rules from gmake that .SUFFIXES does not remove.\n" makefileStream
<< "# This makes gmake faster as it does not try to run implicit rules\n" << "# Remove some rules from gmake that .SUFFIXES does not remove.\n"
<< "# on targets that never exist.\n" << "# This makes gmake faster as it does not try to run implicit rules\n"
<< "SUFFIXES =\n" << "# on targets that never exist.\n"
<< "%: %,v\n" << "SUFFIXES =\n"
<< "%: RCS/%,v\n" << "%: %,v\n"
<< "%: RCS/%\n" << "%: RCS/%,v\n"
<< "%: s.%\n" << "%: RCS/%\n"
<< "%: %.w\n" << "%: s.%\n"
<< "%.c: %.w %.ch\n" << "%: %.w\n"
<< "%: %.tex\n" << "%.c: %.w %.ch\n"
<< "%: SCCS/s.%\n\n"; << "%: %.tex\n"
<< "%: SCCS/s.%\n\n";
} }
// Add a fake suffix to keep HP happy. Must be max 32 chars for SGI make. // Add a fake suffix to keep HP happy. Must be max 32 chars for SGI make.
std::vector<std::string> depends; std::vector<std::string> depends;