]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Support shared libs.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 26 Jan 2000 16:16:58 +0000 (16:16 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 26 Jan 2000 16:16:58 +0000 (16:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@2269 0785d39b-7218-0410-832d-ea1e28bc413d

28 files changed:
deal.II/deal.II/Attic/examples/convergence/Makefile
deal.II/deal.II/Attic/examples/dof/Makefile
deal.II/deal.II/Attic/examples/error-estimation/Makefile
deal.II/deal.II/Attic/examples/grid/Makefile
deal.II/deal.II/Attic/examples/multigrid/Makefile
deal.II/deal.II/Attic/examples/nonlinear/fixed-point-iteration/Makefile
deal.II/deal.II/Attic/examples/poisson/Makefile
deal.II/deal.II/Attic/examples/step-by-step/step-1/Makefile
deal.II/deal.II/Attic/examples/step-by-step/step-2/Makefile
deal.II/deal.II/Attic/examples/step-by-step/step-3/Makefile
deal.II/deal.II/Attic/examples/step-by-step/step-4/Makefile
deal.II/deal.II/Attic/examples/step-by-step/step-5/Makefile
deal.II/deal.II/Attic/examples/step-by-step/step-6/Makefile
deal.II/deal.II/Attic/examples/step-by-step/step-8/Makefile
deal.II/examples/step-1/Makefile
deal.II/examples/step-2/Makefile
deal.II/examples/step-3/Makefile
deal.II/examples/step-4/Makefile
deal.II/examples/step-5/Makefile
deal.II/examples/step-6/Makefile
deal.II/examples/step-8/Makefile
tests/big-tests/convergence/Makefile
tests/big-tests/dof/Makefile
tests/big-tests/error-estimation/Makefile
tests/big-tests/grid/Makefile
tests/big-tests/multigrid/Makefile
tests/big-tests/nonlinear/fixed-point-iteration/Makefile
tests/big-tests/poisson/Makefile

index 2cbefdbd72ed2101904a9ce05e902548b62b7034..dae78cbddbb7dfd33f93c14c516f85cb840ad824 100644 (file)
@@ -49,8 +49,14 @@ h-files     = $(filter-out *%, $(shell echo *.h))
 lib-h-files = $(filter-out *%, $(shell echo ../../include/*/*.h))
 
 # list of libraries needed to link with
-libs     = ./Obj.a   -ldeal_II_2d  -llac -lbase
-libs.g   = ./Obj.g.a -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = ./Obj.g.a         \
+           $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = ./Obj.a           \
+           $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 46b8df97c31a27c2fc84ec07fa44973a704a7268..82401e23ed27bfae20bee1c79b81e575a59ef4cc 100644 (file)
@@ -50,8 +50,16 @@ h-files     = $(filter-out *%, $(shell echo *.h))
 lib-h-files = $(filter-out *%, $(shell echo ../../include/*/*.h))
 
 # list of libraries needed to link with
-libs     = ./Obj.a   ../../lib/libdeal_II_2d.a   ../../lib/libdeal_II_3d.a   ../../../lac/lib/liblac.a   ../../../base/lib/libbase.a
-libs.g   = ./Obj.g.a ../../lib/libdeal_II_2d.g.a ../../lib/libdeal_II_3d.g.a ../../../lac/lib/liblac.g.a ../../../base/lib/libbase.g.a ../../../base/lib/libbase.g.a
+libs.g   = ./Obj.g.a         \
+           $(lib-deal2-2d.g) \
+           $(lib-deal2-3d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = ./Obj.a           \
+           $(lib-deal2-2d.o) \
+           $(lib-deal2-3d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 180aa8b7a337bc06a8c688b7d46a26f414db6261..ce492a697edaf6ff6cde66d3acf4a3c089c793a5 100644 (file)
@@ -55,8 +55,14 @@ h-files     = $(filter-out *%, $(shell echo *.h))
 lib-h-files = $(filter-out *%, $(shell echo ../../include/*/*.h))
 
 # list of libraries needed to link with
-libs     = ./Obj.a   -ldeal_II_2d  -llac -lbase
-libs.g   = ./Obj.g.a -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = ./Obj.g.a         \
+           $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = ./Obj.a           \
+           $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 # check whether we use debug mode or not
 ifeq ($(debug-mode),on)
index 1be0febb079945075938043b72a81c79714c5c6e..d6edea4a303405451abf2c87a701b991a76e4a21 100644 (file)
@@ -50,8 +50,16 @@ h-files     = $(filter-out *%, $(shell echo *.h))
 lib-h-files = $(filter-out *%, $(shell echo ../../include/*/*.h))
 
 # list of libraries needed to link with
-libs     = ./Obj.a   ../../lib/libdeal_II_2d.g.a ../../lib/libdeal_II_3d.a   ../../../lac/lib/liblac.a   ../../../base/lib/libbase.a
-libs.g   = ./Obj.g.a ../../lib/libdeal_II_2d.g.a ../../lib/libdeal_II_3d.g.a ../../../lac/lib/liblac.g.a ../../../base/lib/libbase.g.a
+libs.g   = ./Obj.g.a         \
+           $(lib-deal2-2d.g) \
+           $(lib-deal2-3d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = ./Obj.a           \
+           $(lib-deal2-2d.o) \
+           $(lib-deal2-3d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 63557adbdcbb1aef306f76e132dbdcd160e8c12b..f5d4be0a4b1b255058cedab9982ffe774cabb4e3 100644 (file)
@@ -50,8 +50,15 @@ h-files     = $(filter-out *%, $(shell echo *.h))
 lib-h-files = $(filter-out *%, $(shell echo ../../include/*/*.h))
 
 # list of libraries needed to link with
-libs     = ./Obj.a   -ldeal_II_2d  -llac -lbase
-libs.g   = ./Obj.g.a -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = ./Obj.g.a         \
+           $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = ./Obj.a           \
+           $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
+
 
 # check whether we use debug mode or not
 ifeq ($(debug-mode),on)
index a3e05a8b1a368980941b44d8e4efa10b5500661b..eb69a945e5c04d2c6e316e202b92ca677b0bef01 100644 (file)
@@ -51,8 +51,14 @@ h-files     = $(filter-out *%, $(shell echo *.h))
 lib-h-files = $(filter-out *%, $(shell echo ../../include/*.h))
 
 # list of libraries needed to link with
-libs     = ./Obj.a   -ldeal_II_2d   -llac -lbase
-libs.g   = ./Obj.g.a -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = ./Obj.g.a         \
+           $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = ./Obj.a           \
+           $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index a4901b56f453dfae6aa9dd9eff7bdf83bb3d0216..313599ef7f4b0e148aca0d8b2b9f0a0e08b65616 100644 (file)
@@ -51,8 +51,15 @@ h-files     = $(filter-out *%, $(shell echo *.h))
 lib-h-files = $(filter-out *%, $(shell echo ../../include/*/*.h))
 
 # list of libraries needed to link with
-libs     = ./Obj.a   -ldeal_II_2d   -llac -lbase
-libs.g   = ./Obj.g.a -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = ./Obj.g.a         \
+           $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = ./Obj.a           \
+           $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
+
 
 
 # check whether we use debug mode or not
index 8753051799cf996c1cb4b25beca741c301fc978d..95ea84a53616a3358c7fbbe25ecb949b0f8b4c3a 100644 (file)
@@ -8,8 +8,7 @@
 target   = $(basename $(shell echo step-*.cc))
 
 # All dependencies between files should be updated by the included
-# file Makefile.dep if necessary. Object files are compiled into
-# the archives ./Obj.a and ./Obj.g.a. By default, the debug version
+# file Makefile.dep if necessary. By default, the debug version
 # is used to link. It you don't like that, change the following
 # variable to "off"
 debug-mode = on
@@ -28,8 +27,12 @@ include $D/common/Make.global_options
 
 
 # list of libraries needed to link with
-libs     = -ldeal_II_2d  -llac -lbase
-libs.g   = -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index ce46c336bd3052a0df6b9ab8eaee0954507669c2..bdae823424c206eef24ae4afcadf9b5e58c2bc9d 100644 (file)
@@ -28,8 +28,12 @@ include $D/common/Make.global_options
 
 
 # list of libraries needed to link with
-libs     = -ldeal_II_2d  -llac -lbase
-libs.g   = -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 8753051799cf996c1cb4b25beca741c301fc978d..be82c25ebdd63e69e16f8cd5f567f7a6d9f61e44 100644 (file)
@@ -28,8 +28,12 @@ include $D/common/Make.global_options
 
 
 # list of libraries needed to link with
-libs     = -ldeal_II_2d  -llac -lbase
-libs.g   = -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 110ec250eb6c84fcc5ee94fbad8c4d861dd11ff4..c2a1f0cbde070eff46d9a9cbbbf03c332f297fbf 100644 (file)
@@ -29,8 +29,14 @@ include $D/common/Make.global_options
 
 # list of libraries needed to link with. this example needs the 3d
 # part as well
-libs.o   = -ldeal_II_2d   -ldeal_II_2d   -llac -lbase
-libs.g   = -ldeal_II_2d.g -ldeal_II_3d.g -llac.g -lbase.g
+libs.g   = $(lib-deal2-2d.g) \
+           $(lib-deal2-3d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs.o   = $(lib-deal2-2d.o) \
+           $(lib-deal2-3d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 8753051799cf996c1cb4b25beca741c301fc978d..be82c25ebdd63e69e16f8cd5f567f7a6d9f61e44 100644 (file)
@@ -28,8 +28,12 @@ include $D/common/Make.global_options
 
 
 # list of libraries needed to link with
-libs     = -ldeal_II_2d  -llac -lbase
-libs.g   = -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 8753051799cf996c1cb4b25beca741c301fc978d..be82c25ebdd63e69e16f8cd5f567f7a6d9f61e44 100644 (file)
@@ -28,8 +28,12 @@ include $D/common/Make.global_options
 
 
 # list of libraries needed to link with
-libs     = -ldeal_II_2d  -llac -lbase
-libs.g   = -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 8753051799cf996c1cb4b25beca741c301fc978d..be82c25ebdd63e69e16f8cd5f567f7a6d9f61e44 100644 (file)
@@ -28,8 +28,12 @@ include $D/common/Make.global_options
 
 
 # list of libraries needed to link with
-libs     = -ldeal_II_2d  -llac -lbase
-libs.g   = -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 8753051799cf996c1cb4b25beca741c301fc978d..95ea84a53616a3358c7fbbe25ecb949b0f8b4c3a 100644 (file)
@@ -8,8 +8,7 @@
 target   = $(basename $(shell echo step-*.cc))
 
 # All dependencies between files should be updated by the included
-# file Makefile.dep if necessary. Object files are compiled into
-# the archives ./Obj.a and ./Obj.g.a. By default, the debug version
+# file Makefile.dep if necessary. By default, the debug version
 # is used to link. It you don't like that, change the following
 # variable to "off"
 debug-mode = on
@@ -28,8 +27,12 @@ include $D/common/Make.global_options
 
 
 # list of libraries needed to link with
-libs     = -ldeal_II_2d  -llac -lbase
-libs.g   = -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index ce46c336bd3052a0df6b9ab8eaee0954507669c2..bdae823424c206eef24ae4afcadf9b5e58c2bc9d 100644 (file)
@@ -28,8 +28,12 @@ include $D/common/Make.global_options
 
 
 # list of libraries needed to link with
-libs     = -ldeal_II_2d  -llac -lbase
-libs.g   = -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 8753051799cf996c1cb4b25beca741c301fc978d..be82c25ebdd63e69e16f8cd5f567f7a6d9f61e44 100644 (file)
@@ -28,8 +28,12 @@ include $D/common/Make.global_options
 
 
 # list of libraries needed to link with
-libs     = -ldeal_II_2d  -llac -lbase
-libs.g   = -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 110ec250eb6c84fcc5ee94fbad8c4d861dd11ff4..c2a1f0cbde070eff46d9a9cbbbf03c332f297fbf 100644 (file)
@@ -29,8 +29,14 @@ include $D/common/Make.global_options
 
 # list of libraries needed to link with. this example needs the 3d
 # part as well
-libs.o   = -ldeal_II_2d   -ldeal_II_2d   -llac -lbase
-libs.g   = -ldeal_II_2d.g -ldeal_II_3d.g -llac.g -lbase.g
+libs.g   = $(lib-deal2-2d.g) \
+           $(lib-deal2-3d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs.o   = $(lib-deal2-2d.o) \
+           $(lib-deal2-3d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 8753051799cf996c1cb4b25beca741c301fc978d..be82c25ebdd63e69e16f8cd5f567f7a6d9f61e44 100644 (file)
@@ -28,8 +28,12 @@ include $D/common/Make.global_options
 
 
 # list of libraries needed to link with
-libs     = -ldeal_II_2d  -llac -lbase
-libs.g   = -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 8753051799cf996c1cb4b25beca741c301fc978d..be82c25ebdd63e69e16f8cd5f567f7a6d9f61e44 100644 (file)
@@ -28,8 +28,12 @@ include $D/common/Make.global_options
 
 
 # list of libraries needed to link with
-libs     = -ldeal_II_2d  -llac -lbase
-libs.g   = -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 8753051799cf996c1cb4b25beca741c301fc978d..be82c25ebdd63e69e16f8cd5f567f7a6d9f61e44 100644 (file)
@@ -28,8 +28,12 @@ include $D/common/Make.global_options
 
 
 # list of libraries needed to link with
-libs     = -ldeal_II_2d  -llac -lbase
-libs.g   = -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 2cbefdbd72ed2101904a9ce05e902548b62b7034..dae78cbddbb7dfd33f93c14c516f85cb840ad824 100644 (file)
@@ -49,8 +49,14 @@ h-files     = $(filter-out *%, $(shell echo *.h))
 lib-h-files = $(filter-out *%, $(shell echo ../../include/*/*.h))
 
 # list of libraries needed to link with
-libs     = ./Obj.a   -ldeal_II_2d  -llac -lbase
-libs.g   = ./Obj.g.a -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = ./Obj.g.a         \
+           $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = ./Obj.a           \
+           $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 46b8df97c31a27c2fc84ec07fa44973a704a7268..82401e23ed27bfae20bee1c79b81e575a59ef4cc 100644 (file)
@@ -50,8 +50,16 @@ h-files     = $(filter-out *%, $(shell echo *.h))
 lib-h-files = $(filter-out *%, $(shell echo ../../include/*/*.h))
 
 # list of libraries needed to link with
-libs     = ./Obj.a   ../../lib/libdeal_II_2d.a   ../../lib/libdeal_II_3d.a   ../../../lac/lib/liblac.a   ../../../base/lib/libbase.a
-libs.g   = ./Obj.g.a ../../lib/libdeal_II_2d.g.a ../../lib/libdeal_II_3d.g.a ../../../lac/lib/liblac.g.a ../../../base/lib/libbase.g.a ../../../base/lib/libbase.g.a
+libs.g   = ./Obj.g.a         \
+           $(lib-deal2-2d.g) \
+           $(lib-deal2-3d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = ./Obj.a           \
+           $(lib-deal2-2d.o) \
+           $(lib-deal2-3d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 180aa8b7a337bc06a8c688b7d46a26f414db6261..ce492a697edaf6ff6cde66d3acf4a3c089c793a5 100644 (file)
@@ -55,8 +55,14 @@ h-files     = $(filter-out *%, $(shell echo *.h))
 lib-h-files = $(filter-out *%, $(shell echo ../../include/*/*.h))
 
 # list of libraries needed to link with
-libs     = ./Obj.a   -ldeal_II_2d  -llac -lbase
-libs.g   = ./Obj.g.a -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = ./Obj.g.a         \
+           $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = ./Obj.a           \
+           $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 # check whether we use debug mode or not
 ifeq ($(debug-mode),on)
index 1be0febb079945075938043b72a81c79714c5c6e..d6edea4a303405451abf2c87a701b991a76e4a21 100644 (file)
@@ -50,8 +50,16 @@ h-files     = $(filter-out *%, $(shell echo *.h))
 lib-h-files = $(filter-out *%, $(shell echo ../../include/*/*.h))
 
 # list of libraries needed to link with
-libs     = ./Obj.a   ../../lib/libdeal_II_2d.g.a ../../lib/libdeal_II_3d.a   ../../../lac/lib/liblac.a   ../../../base/lib/libbase.a
-libs.g   = ./Obj.g.a ../../lib/libdeal_II_2d.g.a ../../lib/libdeal_II_3d.g.a ../../../lac/lib/liblac.g.a ../../../base/lib/libbase.g.a
+libs.g   = ./Obj.g.a         \
+           $(lib-deal2-2d.g) \
+           $(lib-deal2-3d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = ./Obj.a           \
+           $(lib-deal2-2d.o) \
+           $(lib-deal2-3d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index 63557adbdcbb1aef306f76e132dbdcd160e8c12b..f5d4be0a4b1b255058cedab9982ffe774cabb4e3 100644 (file)
@@ -50,8 +50,15 @@ h-files     = $(filter-out *%, $(shell echo *.h))
 lib-h-files = $(filter-out *%, $(shell echo ../../include/*/*.h))
 
 # list of libraries needed to link with
-libs     = ./Obj.a   -ldeal_II_2d  -llac -lbase
-libs.g   = ./Obj.g.a -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = ./Obj.g.a         \
+           $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = ./Obj.a           \
+           $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
+
 
 # check whether we use debug mode or not
 ifeq ($(debug-mode),on)
index a3e05a8b1a368980941b44d8e4efa10b5500661b..eb69a945e5c04d2c6e316e202b92ca677b0bef01 100644 (file)
@@ -51,8 +51,14 @@ h-files     = $(filter-out *%, $(shell echo *.h))
 lib-h-files = $(filter-out *%, $(shell echo ../../include/*.h))
 
 # list of libraries needed to link with
-libs     = ./Obj.a   -ldeal_II_2d   -llac -lbase
-libs.g   = ./Obj.g.a -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = ./Obj.g.a         \
+           $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = ./Obj.a           \
+           $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 # check whether we use debug mode or not
index a4901b56f453dfae6aa9dd9eff7bdf83bb3d0216..313599ef7f4b0e148aca0d8b2b9f0a0e08b65616 100644 (file)
@@ -51,8 +51,15 @@ h-files     = $(filter-out *%, $(shell echo *.h))
 lib-h-files = $(filter-out *%, $(shell echo ../../include/*/*.h))
 
 # list of libraries needed to link with
-libs     = ./Obj.a   -ldeal_II_2d   -llac -lbase
-libs.g   = ./Obj.g.a -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = ./Obj.g.a         \
+           $(lib-deal2-2d.g) \
+          $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = ./Obj.a           \
+           $(lib-deal2-2d.o) \
+          $(lib-lac.o)      \
+           $(lib-base.o)
+
 
 
 # check whether we use debug mode or not

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.