# 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
+
+
# $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
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
# $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
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
# $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
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
# $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
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,
# $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
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
# $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
###############################################################################
# Internals
-#deal include base path
-D = ../../../..
-include ../../../Make.global_options
+include $D/Make.global_options
# $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
###############################################################################
# Internals
-#deal include base path
-D = ../../../deal.II/
-
include $D/common/Make.global_options
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 \