From: Guido Kanschat Date: Tue, 5 Oct 2010 17:10:40 +0000 (+0000) Subject: add a target run and adjust timestepping to Baerbel's changes X-Git-Tag: v8.0.0~5317 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87a91129f8410df6c7943ff01ddfcd1d6035b183;p=dealii.git add a target run and adjust timestepping to Baerbel's changes git-svn-id: https://svn.dealii.org/trunk@22252 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/doxygen/Makefile b/deal.II/examples/doxygen/Makefile index 5bd22b1a7c..22f33ecfd2 100644 --- a/deal.II/examples/doxygen/Makefile +++ b/deal.II/examples/doxygen/Makefile @@ -12,9 +12,16 @@ ########################################################################### include ../../common/Make.global_options -all: product_matrix$(EXEEXT) block_matrix_array$(EXEEXT) \ - compressed_block_sparsity_pattern$(EXEEXT) \ - theta_timestepping$(EXEEXT) +SHELL=/bin/bash + +tests = $(wildcard *.cc) +exe = $(tests:%.cc=%$(EXEEXT)) +ok = $(tests:%.cc=%.ok) + +all: $(exe) + +run: $(ok) + for prog in $(exe) ; do ./$$prog ; done ###################################################################### # Compilation of source code @@ -27,6 +34,12 @@ all: product_matrix$(EXEEXT) block_matrix_array$(EXEEXT) \ @echo ==============optimized===== $(*>& out, const NamedDatanotifications.clear(); - unsigned int i = in.find("Previous time"); + unsigned int i = in.find("Previous iterate"); m.vmult(*out(0), *in(i)); }