]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Document something.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Aug 2003 17:41:25 +0000 (17:41 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Aug 2003 17:41:25 +0000 (17:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@7941 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/scripts/make_dependencies.cc

index d08fcaa684fceb496e38d182ed604a7d480c3357..94810ae00a2c5bb891d3eebd455012f0877eb1eb 100644 (file)
@@ -405,22 +405,26 @@ int main (int argc, char **argv)
       if (basename.rfind ("/") != std::string::npos)
         basename = std::string (basename.begin()+basename.rfind("/")+1,
                                 basename.end());
-      
-      std::cout << basepath << "/" << basename << ".o: \\"
-                << std::endl
-                << "\t\t" << *file;
-      
+
+                                       // get all direct and indirect
+                                       // includes for this file...
       const std::set<std::string> includes = get_all_includes (*file);
 
+                                       // ...write the rule for the .o
+                                       // file...
+      std::cout << basepath << "/" << basename << ".o: \\"
+                << std::endl
+                << "\t\t" << *file;      
       for (std::set<std::string>::const_iterator i=includes.begin();
            i!=includes.end(); ++i)
         std::cout << "\\\n\t\t" << *i;
       std::cout << std::endl;
 
+                                       // ...and a similar rule for
+                                       // the .g.o file
       std::cout << basepath << "/" << basename << ".g.o: \\"
                 << std::endl
                 << "\t\t" << *file;
-      
       for (std::set<std::string>::const_iterator i=includes.begin();
            i!=includes.end(); ++i)
         std::cout << "\\\n\t\t" << *i;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.