From c874f6771296240cdc9ffc7137f169b1213c1204 Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 23 Feb 1999 17:18:38 +0000 Subject: [PATCH] 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 --- deal.II/deal.II/source/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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) -- 2.39.5