mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
ENH: exclude borland make as well
This commit is contained in:
parent
cb512cd513
commit
dec1221f0b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user