From ba8ad510cb76deeef8bf6787e5b8be19fc0f674e Mon Sep 17 00:00:00 2001 From: hartmann Date: Tue, 16 Mar 2004 07:48:25 +0000 Subject: [PATCH] Add new build targets which allow to build the tests without executing them. git-svn-id: https://svn.dealii.org/trunk@8762 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/Makefile | 20 ++++++++++++++++++++ tests/Makefile.rules | 2 ++ 2 files changed, 22 insertions(+) diff --git a/tests/Makefile b/tests/Makefile index 4823abd39a..f6390a2707 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -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 " # with this particular header file. then try to compile it. this diff --git a/tests/Makefile.rules b/tests/Makefile.rules index 6ca4e1df26..163c2453f2 100644 --- a/tests/Makefile.rules +++ b/tests/Makefile.rules @@ -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. -- 2.39.5