]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Further simplify most of the Makefiles.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Sep 2010 03:21:38 +0000 (03:21 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Sep 2010 03:21:38 +0000 (03:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@22080 0785d39b-7218-0410-832d-ea1e28bc413d

19 files changed:
tests/Makefile.rules
tests/a-framework/Makefile
tests/aniso/Makefile
tests/base/Makefile
tests/bits/Makefile
tests/codim_one/Makefile
tests/deal.II/Makefile
tests/fail/Makefile
tests/fe/Makefile
tests/hp/Makefile
tests/hsl/Makefile
tests/lac/Makefile
tests/lapack/Makefile
tests/metis/Makefile
tests/multigrid/Makefile
tests/petsc/Makefile
tests/test/Makefile
tests/trilinos/Makefile
tests/umfpack/Makefile

index c3a8d372f2f987fcd6af18ae677123c364acfed0..fb429930156d17ef6791549180d86c4a578263a1 100644 (file)
@@ -186,6 +186,25 @@ report+mail:
            fi ; \
          done
 
+############################################################
+# by default, all .cc-files are tests. individual Makefiles
+# may overrule this:
+ifeq ($(tests),)
+tests = $(basename $(wildcard *.cc))
+endif
+
+############################################################
+# link with all libraries:
+libraries = $(lib-deal2-1d.g) \
+            $(lib-deal2-2d.g) \
+            $(lib-deal2-3d.g) \
+            $(lib-lac.g)  \
+            $(lib-base.g)
+libraries_o = $(lib-deal2-1d.o) \
+            $(lib-deal2-2d.o) \
+            $(lib-deal2-3d.o) \
+            $(lib-lac.o)  \
+            $(lib-base.o)
 
 ############################################################
 # After all these general rules, here is the target to be
@@ -208,7 +227,7 @@ update: $(tests:%=%/update)
 
 clean:
        -rm -f Makefile.depend Makefile.tests */obj.$(OBJEXT) \
-               */obj.g.$(OBJEXT) */output *~
+               */obj.g.$(OBJEXT) */output *~ */status */OK
 
 distclean: clean
        -rm -f */exe *.testcase *.gpl *.eps *.gnuplot
index 7de41a4da025e962dd3a07a88430dac86745a8e9..a722f76008c83b27e4f589ebdffb1d4104f40f65 100644 (file)
@@ -3,32 +3,8 @@
 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
 ############################################################
 
-############################################################
-# Include general settings for including DEAL libraries
-############################################################
-
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
-
-libraries = $(lib-deal2-1d.g) \
-            $(lib-deal2-2d.g) \
-            $(lib-deal2-3d.g) \
-            $(lib-lac.g)  \
-            $(lib-base.g)
-
-default: run-tests
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
-
-############################################################
-
-
 include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
-
-.PHONY: default
index e171efdc36161be1f9ddebcc8f1d4a5fad8b1b15..ab2ba54951c3ad09873536a11bf315c2f48c9daa 100644 (file)
@@ -3,30 +3,8 @@
 # Copyright (C) 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2010 by the deal.II authors
 ############################################################
 
-############################################################
-# Include general settings for including DEAL libraries
-############################################################
-
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
-
-libraries = $(lib-deal2-1d.g) \
-            $(lib-deal2-2d.g) \
-            $(lib-deal2-3d.g) \
-            $(lib-lac.g)  \
-            $(lib-base.g)
-
-default: run-tests 
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
-
-############################################################
-
-
 include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
index b65036cd88872fed9fd2b234781184745611a36e..7e610285db624389b2ebfc02d9c76ef06dfe5049 100644 (file)
@@ -9,15 +9,11 @@
 
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
 
-libraries += $(lib-lac.g)  \
-             $(lib-base.g)
 
 default: run-tests
 
 ############################################################
-
 # rules to generate the threading tests. the .cc files are
 # automatically generated; note that for the output generation, we
 # have to sort the output since otherwise in MT mode things would come
index 7de41a4da025e962dd3a07a88430dac86745a8e9..a722f76008c83b27e4f589ebdffb1d4104f40f65 100644 (file)
@@ -3,32 +3,8 @@
 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
 ############################################################
 
-############################################################
-# Include general settings for including DEAL libraries
-############################################################
-
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
-
-libraries = $(lib-deal2-1d.g) \
-            $(lib-deal2-2d.g) \
-            $(lib-deal2-3d.g) \
-            $(lib-lac.g)  \
-            $(lib-base.g)
-
-default: run-tests
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
-
-############################################################
-
-
 include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
-
-.PHONY: default
index 27ec68f227c60ff574d37e378a5db51744c187a9..91d56844fc768763a3c60e651aaa1cc35e76ba83 100644 (file)
@@ -1,32 +1,10 @@
 ############################################################
 # $Id: Makefile 16047 2008-05-07 16:51:50Z heltai $
-# Copyright (C) 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009 by the deal.II authors
-############################################################
-
-############################################################
-# Include general settings for including DEAL libraries
+# Copyright (C) 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
 ############################################################
 
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
-
-libraries = $(lib-deal2-1d.g) \
-            $(lib-deal2-2d.g) \
-            $(lib-deal2-3d.g) \
-            $(lib-lac.g)  \
-            $(lib-base.g)
-
-default: run-tests 
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
-
-############################################################
-
-
 include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
index 6c169ddcb3d6a1c871de93c2304d962727a0a190..24aae98bf3f6daafd6439e561904e391f6da0461 100644 (file)
@@ -3,30 +3,8 @@
 # Copyright (C) 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
 ############################################################
 
-############################################################
-# Include general settings for including DEAL libraries
-############################################################
-
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
-
-libraries = $(lib-deal2-1d.g) \
-            $(lib-deal2-2d.g) \
-            $(lib-deal2-3d.g) \
-            $(lib-lac.g)  \
-            $(lib-base.g)
-
-default: run-tests
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
-
-############################################################
-
-
 include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
index beb9a6d6e40486e1cecdcbd549935bcca237993a..3417226b4916ff9d809d8b5d31e0f26d0bddf312 100644 (file)
@@ -3,31 +3,8 @@
 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008, 2010 by the deal.II authors
 ############################################################
 
-############################################################
-# Include general settings for including DEAL libraries
-############################################################
-
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
-
-libraries = $(lib-deal2-1d.g) \
-            $(lib-deal2-2d.g) \
-            $(lib-deal2-3d.g) \
-            $(lib-lac.g)  \
-            $(lib-base.g)
-
-default: run-tests
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
-
-############################################################
-
-T:
-       @echo $(tests)
 include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
index 04af9df404181d295b4a57e5eb271ad1a0702ab8..a722f76008c83b27e4f589ebdffb1d4104f40f65 100644 (file)
@@ -3,30 +3,8 @@
 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
 ############################################################
 
-############################################################
-# Include general settings for including DEAL libraries
-############################################################
-
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
-
-libraries = $(lib-deal2-1d.g) \
-            $(lib-deal2-2d.g) \
-            $(lib-deal2-3d.g) \
-            $(lib-lac.g)  \
-            $(lib-base.g)
-
-default: run-tests
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
-
-############################################################
-
-
 include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
index 6c169ddcb3d6a1c871de93c2304d962727a0a190..24aae98bf3f6daafd6439e561904e391f6da0461 100644 (file)
@@ -3,30 +3,8 @@
 # Copyright (C) 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
 ############################################################
 
-############################################################
-# Include general settings for including DEAL libraries
-############################################################
-
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
-
-libraries = $(lib-deal2-1d.g) \
-            $(lib-deal2-2d.g) \
-            $(lib-deal2-3d.g) \
-            $(lib-lac.g)  \
-            $(lib-base.g)
-
-default: run-tests
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
-
-############################################################
-
-
 include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
index 7de41a4da025e962dd3a07a88430dac86745a8e9..a722f76008c83b27e4f589ebdffb1d4104f40f65 100644 (file)
@@ -3,32 +3,8 @@
 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
 ############################################################
 
-############################################################
-# Include general settings for including DEAL libraries
-############################################################
-
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
-
-libraries = $(lib-deal2-1d.g) \
-            $(lib-deal2-2d.g) \
-            $(lib-deal2-3d.g) \
-            $(lib-lac.g)  \
-            $(lib-base.g)
-
-default: run-tests
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
-
-############################################################
-
-
 include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
-
-.PHONY: default
index 57cfc6c0572d37a57f70eee5cd2530bc62c6f1b5..6476e92010fbbcf6ae679dd632d16680a4ceab8c 100644 (file)
@@ -3,31 +3,8 @@
 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
 ############################################################
 
-############################################################
-# Include general settings for including DEAL libraries
-############################################################
-
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
-
-libraries = $(lib-lac.g)  \
-            $(lib-base.g)
-libraries_o = $(lib-lac.o)  \
-            $(lib-base.o)
-
-default: run-tests
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
-
-############################################################
-
-
 include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
-
-.PHONY: default
index 4cff915ae0d8dd6a7fa0174920918fec2bc6783b..da6b20360f85b849345e57f246d0048538c3541a 100644 (file)
@@ -3,31 +3,8 @@
 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2010 by the deal.II authors
 ############################################################
 
-############################################################
-# Include general settings for including DEAL libraries
-############################################################
-
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
-
-libraries = $(lib-lac.g)  \
-            $(lib-base.g)
-libraries_o = $(lib-lac.o)  \
-            $(lib-base.o)
-
-default: run-tests 
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
-
-############################################################
-
-
 include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
-
-.PHONY: default
index 7de41a4da025e962dd3a07a88430dac86745a8e9..a722f76008c83b27e4f589ebdffb1d4104f40f65 100644 (file)
@@ -3,32 +3,8 @@
 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
 ############################################################
 
-############################################################
-# Include general settings for including DEAL libraries
-############################################################
-
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
-
-libraries = $(lib-deal2-1d.g) \
-            $(lib-deal2-2d.g) \
-            $(lib-deal2-3d.g) \
-            $(lib-lac.g)  \
-            $(lib-base.g)
-
-default: run-tests
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
-
-############################################################
-
-
 include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
-
-.PHONY: default
index fe1052be161175900404ad4a8a76da6efd36f389..3a7da77cd3e56244760fad553287a86bc1ce4c50 100644 (file)
@@ -9,24 +9,6 @@
 
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
-
-libraries = $(lib-deal2-1d.g) \
-            $(lib-deal2-2d.g) \
-            $(lib-deal2-3d.g) \
-            $(lib-lac.g)  \
-            $(lib-base.g)
-
-default: run-tests
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
-
-############################################################
-
-
 include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
index d40682b73ac427185bd865ec4c0ab49ff2685660..60f4d955e2b4ff702599ae4fb2dcee0978c3c570 100644 (file)
@@ -9,25 +9,6 @@
 
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
-
-libraries = $(lib-lac.g)  \
-            $(lib-base.g)
-libraries_o = $(lib-lac.o)  \
-            $(lib-base.o)
-
-default: run-tests 
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
-
-############################################################
-
-
 include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
-
-.PHONY: default
index ac08cfb744d168872a12a2cb933d1ac2afd0055e..c77f9fdf963d84c201815f814c4309495d813d97 100644 (file)
@@ -15,12 +15,6 @@ include ../Makefile.paths
 include $D/common/Make.global_options
 debug-mode = on
 
-default: run-tests 
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
 
 ############################################################
 # phony header file to force compilation whenever
index d40682b73ac427185bd865ec4c0ab49ff2685660..f9ffd5e25b4270336bd248d4b22b1c771c25895a 100644 (file)
@@ -3,31 +3,8 @@
 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008, 2010 by the deal.II authors
 ############################################################
 
-############################################################
-# Include general settings for including DEAL libraries
-############################################################
-
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
-
-libraries = $(lib-lac.g)  \
-            $(lib-base.g)
-libraries_o = $(lib-lac.o)  \
-            $(lib-base.o)
-
-default: run-tests 
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
-
-############################################################
-
-
 include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
-
-.PHONY: default
index 0b5ea82109da2b6f0bfeef4db7cf57800ffec7dc..07389ec3f05b83d6f4ac0fdedac31aa936535213 100644 (file)
@@ -3,37 +3,8 @@
 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2010 by the deal.II authors
 ############################################################
 
-############################################################
-# Include general settings for including DEAL libraries
-############################################################
-
 include ../Makefile.paths
 include $D/common/Make.global_options
-debug-mode = on
-
-libraries = $(lib-deal2-1d.g) \
-            $(lib-deal2-2d.g) \
-            $(lib-deal2-3d.g) \
-            $(lib-lac.g)  \
-            $(lib-base.g)
-libraries_o = $(lib-deal2-1d.o) \
-            $(lib-deal2-2d.o) \
-            $(lib-deal2-3d.o) \
-            $(lib-lac.o)  \
-            $(lib-base.o)
-
-default: run-tests 
-
-############################################################
-
-# all .cc-files are tests:
-tests = $(basename $(wildcard *.cc))
-
-############################################################
-
-
 include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
-
-.PHONY: default

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.