]> https://gitweb.dealii.org/ - dealii.git/commitdiff
configure deal directory
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 29 Feb 2000 14:22:45 +0000 (14:22 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 29 Feb 2000 14:22:45 +0000 (14:22 +0000)
git-svn-id: https://svn.dealii.org/trunk@2514 0785d39b-7218-0410-832d-ea1e28bc413d

tests/big-tests/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 3c406115c71311fdb6e3d60f8b49f05215da98ec..7d505a3c11a00c82b91bbc235d0dcae28766a794 100644 (file)
@@ -22,10 +22,12 @@ clean  : $(clean)
 
 # define the action of the targets for the specific subdirectories
 $(compile) :
-       cd $(@:.compile=) ; $(MAKE)
+       cd $(@:.compile=) ; $(MAKE) D=$D
 
 $(run) :
        cd $(@:.run=) ; $(MAKE) run
 
 $(clean) :
        -cd $(@:.clean=) ; $(MAKE) clean
+
+
index 960504f30f3dde5f211393210a931f126fbba30a..4815dad0c85bdec381f649a5d22e2102c3712a8c 100644 (file)
@@ -1,5 +1,10 @@
 # $Id$
-# Copyright W. Bangerth, University of Heidelberg, 1998, 1999, 2000
+# Copyright by the deal.II authors 1998, 1999, 2000
+
+############################################################
+# $D contains the root of the deal distribution and should
+# be supplied as a command line argument D=../../...
+############################################################
 
 
 # For the small projects Makefile, you basically need to fill in only
@@ -18,15 +23,6 @@ target   = convergence
 debug-mode = on
 
 
-# As third field, we need to give the path to the top-level deal.II
-# directory. You need to adjust this to your needs. Since this path is
-# probably the most often needed one in the Makefile internals, it is
-# designated by a single-character variable, since that can be
-# reference using $D only, i.e. without the parentheses that are
-# required for most other parameters, as e.g. in $(target).
-D = ../../../deal.II/
-
-
 # The last field specifies the names of data and other files that
 # shall be deleted when calling `make clean'. Object and backup files,
 # executables and the like are removed anyway. Here, we give a list of
index 9285e3f9372cd6b62d94ac3c7e041bb362f4f9a8..dd72340acfd8e726d9d091adad6727027e0eff76 100644 (file)
@@ -1,5 +1,10 @@
 # $Id$
-# Copyright W. Bangerth, University of Heidelberg, 1998, 1999, 2000
+# Copyright by the deal.II authors 1998, 1999, 2000
+
+############################################################
+# $D contains the root of the deal distribution and should
+# be supplied as a command line argument D=../../...
+############################################################
 
 
 # For the small projects Makefile, you basically need to fill in only
@@ -18,15 +23,6 @@ target   = dof_test
 debug-mode = on
 
 
-# As third field, we need to give the path to the top-level deal.II
-# directory. You need to adjust this to your needs. Since this path is
-# probably the most often needed one in the Makefile internals, it is
-# designated by a single-character variable, since that can be
-# reference using $D only, i.e. without the parentheses that are
-# required for most other parameters, as e.g. in $(target).
-D = ../../../deal.II/
-
-
 # The last field specifies the names of data and other files that
 # shall be deleted when calling `make clean'. Object and backup files,
 # executables and the like are removed anyway. Here, we give a list of
index c444e5123d8c52a3c318f537501ac546b67380cb..f9fa647c68c346655f6c9580ae759833d809161e 100644 (file)
@@ -1,5 +1,10 @@
 # $Id$
-# Copyright W. Bangerth, University of Heidelberg, 1998, 1999, 2000
+# Copyright by the deal.II authors 1998, 1999, 2000
+
+############################################################
+# $D contains the root of the deal distribution and should
+# be supplied as a command line argument D=../../...
+############################################################
 
 
 # For the small projects Makefile, you basically need to fill in only
@@ -18,15 +23,6 @@ target   = error-estimation
 debug-mode = on
 
 
-# As third field, we need to give the path to the top-level deal.II
-# directory. You need to adjust this to your needs. Since this path is
-# probably the most often needed one in the Makefile internals, it is
-# designated by a single-character variable, since that can be
-# reference using $D only, i.e. without the parentheses that are
-# required for most other parameters, as e.g. in $(target).
-D = ../../../deal.II/
-
-
 # The last field specifies the names of data and other files that
 # shall be deleted when calling `make clean'. Object and backup files,
 # executables and the like are removed anyway. Here, we give a list of
index 8b24137106d0f0a05fad1167f3249e1c5c13762f..e4480a990dc835daf0461379d4d9f2a98a147c86 100644 (file)
@@ -1,5 +1,10 @@
 # $Id$
-# Copyright W. Bangerth, University of Heidelberg, 1998, 1999, 2000
+# Copyright by the deal.II authors 1998, 1999, 2000
+
+############################################################
+# $D contains the root of the deal distribution and should
+# be supplied as a command line argument D=../../...
+############################################################
 
 
 # For the small projects Makefile, you basically need to fill in only
@@ -18,14 +23,6 @@ target   = grid_test
 debug-mode = on
 
 
-# As third field, we need to give the path to the top-level deal.II
-# directory. You need to adjust this to your needs. Since this path is
-# probably the most often needed one in the Makefile internals, it is
-# designated by a single-character variable, since that can be
-# reference using $D only, i.e. without the parentheses that are
-# required for most other parameters, as e.g. in $(target).
-D = ../../../deal.II/
-
 
 # The last field specifies the names of data and other files that
 # shall be deleted when calling `make clean'. Object and backup files,
index 5a0d33203f9fb324a0c5cfc9a27481df22b777d0..bc775f2f7d59813651d841e1fccad6bacbf63210 100644 (file)
@@ -1,5 +1,10 @@
 # $Id$
-# Copyright W. Bangerth, University of Heidelberg, 1998, 1999, 2000
+# Copyright by the deal.II authors 1998, 1999, 2000
+
+############################################################
+# $D contains the root of the deal distribution and should
+# be supplied as a command line argument D=../../...
+############################################################
 
 
 # For the small projects Makefile, you basically need to fill in only
@@ -18,15 +23,6 @@ target   = multigrid
 debug-mode = on
 
 
-# As third field, we need to give the path to the top-level deal.II
-# directory. You need to adjust this to your needs. Since this path is
-# probably the most often needed one in the Makefile internals, it is
-# designated by a single-character variable, since that can be
-# reference using $D only, i.e. without the parentheses that are
-# required for most other parameters, as e.g. in $(target).
-D = ../../../deal.II/
-
-
 # The last field specifies the names of data and other files that
 # shall be deleted when calling `make clean'. Object and backup files,
 # executables and the like are removed anyway. Here, we give a list of
index 0010ae461fe742ebaa4b7bd4faa1879c5bbb0c8c..7598a66d685e5e9deb9100ab21385449015a0d22 100644 (file)
@@ -1,5 +1,11 @@
 # $Id$
-# Copyright W. Bangerth, University of Heidelberg, 1998
+# Copyright by the deal.II authors 1998, 1999, 2000
+
+############################################################
+# $D contains the root of the deal distribution and should
+# be supplied as a command line argument D=../../...
+############################################################
+
 
 # Template for makefiles for the examples subdirectory. In principle,
 # everything should be done automatically if you set the target file
@@ -36,10 +42,8 @@ delete-files = gnuplot* *.eps
 ###############################################################################
 # Internals
 
-#deal include base path
-D = ../../../..
 
-include ../../../Make.global_options
+include $D/Make.global_options
 
 
 
index df26bf56a41f56092bbbdc70ee8b0e19c0da3442..9cc2eaa036149ed7b427e1a1f74675f26ef845f6 100644 (file)
@@ -1,5 +1,10 @@
 # $Id$
-# Copyright W. Bangerth, University of Heidelberg, 1998
+# Copyright by the deal.II authors 1998, 1999, 2000
+
+############################################################
+# $D contains the root of the deal distribution and should
+# be supplied as a command line argument D=../../...
+############################################################
 
 # Template for makefiles for the examples subdirectory. In principle,
 # everything should be done automatically if you set the target file
@@ -36,9 +41,6 @@ delete-files = results/*gnuplot results/*.eps
 ###############################################################################
 # Internals
 
-#deal include base path
-D = ../../../deal.II/
-
 include $D/common/Make.global_options
 
 
@@ -48,7 +50,7 @@ cc-files    = $(filter-out *%, $(shell echo *.cc))
 o-files     = $(cc-files:.cc=.o)
 go-files    = $(cc-files:.cc=.go)
 h-files     = $(filter-out *%, $(shell echo *.h))
-lib-h-files = $(filter-out *%, $(shell echo ../../include/*/*.h))
+lib-h-files = $(filter-out *%, $(shell echo $D/include/*/*.h))
 
 # list of libraries needed to link with
 libs.g   = ./Obj.g.a         \

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.