From 8cb991df196789293ff74b4199524c05c6562352 Mon Sep 17 00:00:00 2001 From: kanschat Date: Tue, 5 Oct 2010 17:10:40 +0000 Subject: [PATCH] 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 --- deal.II/examples/doxygen/Makefile | 21 +++++++++++++++---- .../examples/doxygen/theta_timestepping.cc | 2 +- 2 files changed, 18 insertions(+), 5 deletions(-) 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)); } -- 2.39.5