From daf890359ce754b430226c2a5ceebb73eb69f44e Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 30 Nov 2001 12:05:38 -0500 Subject: [PATCH] add new suffix rules --- Source/cmUnixMakefileGenerator.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index 52bd79a8e..f41973b11 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 = " <<