add new suffix rules

This commit is contained in:
Bill Hoffman 2001-11-30 12:05:38 -05:00
parent b64e2b83b0
commit daf890359c
1 changed files with 2 additions and 1 deletions

View File

@ -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 = " <<