]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add new build targets which allow to build the tests without executing them.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 16 Mar 2004 07:48:25 +0000 (07:48 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 16 Mar 2004 07:48:25 +0000 (07:48 +0000)
git-svn-id: https://svn.dealii.org/trunk@8762 0785d39b-7218-0410-832d-ea1e28bc413d

tests/Makefile
tests/Makefile.rules

index 4823abd39a39d5c9e41893dd404a7d228323185d..f6390a2707a2b60b8e4302f19d38b3e859980025 100644 (file)
@@ -38,6 +38,26 @@ report+mail:
        @rm testresults
 
 
+# compilation of tests only, no execution of tests
+
+build: build-base build-lac build-fe build-deal.II build-bits
+
+build-base: abort.o
+       cd base ; $(MAKE) exe
+
+build-lac: abort.o
+       cd lac ; $(MAKE) exe
+
+build-fe: abort.o
+       cd fe ; $(MAKE) exe
+
+build-bits: abort.o
+       cd bits ; $(MAKE) exe
+
+build-deal.II: abort.o
+       cd deal.II ; $(MAKE) exe
+
+
 # collect all header files, and for each try to do the following:
 # generate a file tmp.cc that contains nothing but "#include <xxx>"
 # with this particular header file. then try to compile it. this 
index 6ca4e1df26df2545d6f2150e54e0d6e017db8023..163c2453f2c5f4201ff1e24320cdfb5770919f11 100644 (file)
@@ -134,6 +134,8 @@ run-tests: $(tests:%=%.OK)
 
 output: $(tests:%=%.output)
 
+exe: $(tests:%=%.exe)
+
 ############################################################
 # Link and copy files in ./results/* to generate checked
 # checked files for new hardware/compiler platform.

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.