From 66d9cd83519962f320d4b6edefeb15ae250107ae Mon Sep 17 00:00:00 2001
From: David Cole <david.cole@kitware.com>
Date: Tue, 11 Jan 2011 17:34:06 -0500
Subject: Xcode: Disable implicit make rules in custom rules makefiles.

With apologies to the suggester for not accenting the surname
vowel properly.

Suggested-By: Johan Bjork
---
 Source/cmGlobalXCodeGenerator.cxx | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 59ca38f..edb8e0e 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1279,6 +1279,9 @@ void  cmGlobalXCodeGenerator
   makefileStream << "# Generated by CMake, DO NOT EDIT\n";
   makefileStream << "# Custom rules for " << target.GetName() << "\n";
 
+  // disable the implicit rules
+  makefileStream << ".SUFFIXES: " << "\n";
+
   // have all depend on all outputs
   makefileStream << "all: ";
   std::map<const cmCustomCommand*, cmStdString> tname;
-- 
cgit v0.12