]> 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:27:15 +0000 (17:27 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Feb 1999 17:27:15 +0000 (17:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@886 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/Makefile
deal.II/lac/source/Makefile

index 966deb341fc7a8817b1328ca71eb08dd2c29d9cd..776d7ea425c6fa1e340548c2c032c5be4254151f 100644 (file)
@@ -28,6 +28,10 @@ lib.g.a: ../lib/libbase.g.a($(go-files))
 clean:
        rm -f *.o *.go *~ Makefile.dep ../lib/lib*
 
+# rule how to make the file containing all the forward declarations
+../include/base/forward-declarations.h: $(filter-out %forward-declarations.h,$(h-files))
+       @echo ============================ Generating $@
+       @perl ../../deal.II/Make_forward_declarations $(filter-out %forward-declarations.h,$(h-files)) > $@
 
 
 .PHONY: lib lib.a lib.g.a clean
index d9311df5c196e1f95abf60170a6d3f1d9e096c73..af99cdae776dee4a73ccffbaa926d858ac404e36 100644 (file)
@@ -34,6 +34,13 @@ clean:
        rm -f *.o *.go *~ Makefile.dep ../lib/lib*
 
 
+# rule how to make the file containing all the forward declarations
+../include/lac/forward-declarations.h: $(filter-out %forward-declarations.h,$(h-files))
+       @echo ============================ Generating $@
+       @perl ../../deal.II/Make_forward_declarations $(filter-out %forward-declarations.h,$(h-files)) > $@
+
+
+
 
 .PHONY: lib lib.a lib.g.a clean
 

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.