|
|
@@ -1325,13 +1325,7 @@ void cmLocalUnixMakefileGenerator::OutputExecutableRule(std::ostream& fout,
|
|
|
target = this->ConvertToRelativeOutputPath(target.c_str());
|
|
|
cmSystemTools::ConvertToUnixSlashes(target);
|
|
|
bool needsLocalTarget = false;
|
|
|
- unsigned int startPos = 2;
|
|
|
- if(m_Makefile->GetDefinition("BORLAND"))
|
|
|
- {
|
|
|
- // the borland makefiles treat .\target and target as different
|
|
|
- // targets. All other makes treat them the same
|
|
|
- startPos = 0;
|
|
|
- }
|
|
|
+ unsigned int startPos = 0;
|
|
|
if(target.find('/', startPos) != target.npos)
|
|
|
{
|
|
|
needsLocalTarget = true;
|