From: wolf Date: Fri, 15 Aug 2003 17:39:28 +0000 (+0000) Subject: Write out separate dependcy lists for .o and .g.o so as to not confuse X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e6a8fea2e2af28d5f86cc0f0e5c91b3f7d86203;p=dealii-svn.git Write out separate dependcy lists for .o and .g.o so as to not confuse the Makefile in the deal.II subdir. git-svn-id: https://svn.dealii.org/trunk@7940 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/common/scripts/make_dependencies.cc b/deal.II/common/scripts/make_dependencies.cc index 3cc36ad264..d08fcaa684 100644 --- a/deal.II/common/scripts/make_dependencies.cc +++ b/deal.II/common/scripts/make_dependencies.cc @@ -406,12 +406,21 @@ int main (int argc, char **argv) basename = std::string (basename.begin()+basename.rfind("/")+1, basename.end()); - std::cout << basepath << "/" << basename << ".o " - << basepath << "/" << basename << ".g.o: \\" + std::cout << basepath << "/" << basename << ".o: \\" << std::endl << "\t\t" << *file; const std::set includes = get_all_includes (*file); + + for (std::set::const_iterator i=includes.begin(); + i!=includes.end(); ++i) + std::cout << "\\\n\t\t" << *i; + std::cout << std::endl; + + std::cout << basepath << "/" << basename << ".g.o: \\" + << std::endl + << "\t\t" << *file; + for (std::set::const_iterator i=includes.begin(); i!=includes.end(); ++i) std::cout << "\\\n\t\t" << *i;