diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-01-16 20:53:29 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-01-16 20:53:29 (GMT) |
commit | cddba435b87de812aed6aecfcecd4d3e0508f633 (patch) | |
tree | 831a4d0f315cfc4632ebb3f1a8d997b5a1c16ffc /Source/cmUnixMakefileGenerator.cxx | |
parent | ce8955670681075a9350f6c78f3ecfeede24e260 (diff) | |
download | CMake-cddba435b87de812aed6aecfcecd4d3e0508f633.zip CMake-cddba435b87de812aed6aecfcecd4d3e0508f633.tar.gz CMake-cddba435b87de812aed6aecfcecd4d3e0508f633.tar.bz2 |
ENH: add silent and suffixes to check depend file
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r-- | Source/cmUnixMakefileGenerator.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index 78f2f58..cdaaff9 100644 --- a/Source/cmUnixMakefileGenerator.cxx +++ b/Source/cmUnixMakefileGenerator.cxx @@ -231,6 +231,7 @@ void cmUnixMakefileGenerator::OutputMakefile(const char* file) fout << "\n\n"; fout << "# Suppresses display of executed commands\n"; fout << ".SILENT:\n"; + fout << "# disable some common implicit rules to speed things up\n"; fout << ".SUFFIXES:\n"; // create a make variable with all of the sources for this Makefile // for depend purposes. @@ -1153,6 +1154,10 @@ void cmUnixMakefileGenerator::OutputCheckDepends(std::ostream& fout) std::set<std::string> emitted; // Iterate over every target. std::map<cmStdString, cmTarget>& targets = m_Makefile->GetTargets(); + fout << "# Suppresses display of executed commands\n"; + fout << ".SILENT:\n"; + fout << "# disable some common implicit rules to speed things up\n"; + fout << ".SUFFIXES:\n"; this->OutputMakeVariables(fout); fout << "default:\n"; fout << "\t$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) -f cmake.check_depends all\n" |