]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Automatically generate a list of all declared classes as forward declarations.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Feb 1999 17:18:38 +0000 (17:18 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Feb 1999 17:18:38 +0000 (17:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@885 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/Makefile

index b4460f78ab61e2db4c22dd44b64cdeb7824ccbd9..2ddec2e403e069f5ff22ef4b2033345b5c36be93 100644 (file)
@@ -45,6 +45,12 @@ all: 1d 2d 3d
 3d: ../lib/libdeal_II_3d.g.a ../lib/libdeal_II_3d.a
 
 
+# rule how to make the file containing all the forward declarations
+../include/basic/forward-declarations.h: $(filter-out %forward-declarations.h,$(h-files))
+       @echo ============================ Generating $@
+       @perl ../Make_forward_declarations $(filter-out %forward-declarations.h,$(h-files)) > $@
+
+
 
 # rules how to generate object files from source files. note that
 # there are some files which needs exceptional rules; these are
@@ -77,7 +83,7 @@ all: 1d 2d 3d
 
 
 
-
+# rules how to make the libraries themselves
 ../lib/libdeal_II_1d.g.a: $(go-files-1d)
        @echo ======================================== Updating library:   $@
        @ar ruv $@ $(go-files-1d)

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.