From: 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-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cb991df196789293ff74b4199524c05c6562352;p=dealii-svn.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)); }