summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-11-30 17:05:38 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-11-30 17:05:38 (GMT)
commitdaf890359ce754b430226c2a5ceebb73eb69f44e (patch)
tree6418d0b94eb20fa13cc357351757e744f5d5db88 /Source/cmUnixMakefileGenerator.cxx
parentb64e2b83b048299aefa9239242f490a3e9e59986 (diff)
downloadCMake-daf890359ce754b430226c2a5ceebb73eb69f44e.zip
CMake-daf890359ce754b430226c2a5ceebb73eb69f44e.tar.gz
CMake-daf890359ce754b430226c2a5ceebb73eb69f44e.tar.bz2
add new suffix rules
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 52bd79a..f41973b 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -1210,7 +1210,8 @@ void cmUnixMakefileGenerator::OutputMakeVariables(std::ostream& fout)
"\n"
"\n";
std::string replaceVars = variables;
-
+ fout << ".SUFFIXES: .cxx .c .cpp .m \n";
+
m_Makefile->ExpandVariablesInString(replaceVars);
fout << replaceVars.c_str();
fout << "CMAKE_CURRENT_SOURCE = " <<