From: wolf Date: Tue, 23 Feb 1999 17:18:38 +0000 (+0000) Subject: Automatically generate a list of all declared classes as forward declarations. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c874f6771296240cdc9ffc7137f169b1213c1204;p=dealii-svn.git Automatically generate a list of all declared classes as forward declarations. git-svn-id: https://svn.dealii.org/trunk@885 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/Makefile b/deal.II/deal.II/source/Makefile index b4460f78ab..2ddec2e403 100644 --- a/deal.II/deal.II/source/Makefile +++ b/deal.II/deal.II/source/Makefile @@ -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)