]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update description in step-5 on how to switch to release mode. 2181/head
authorSimon Sticko <simon.sticko@it.uu.se>
Sat, 13 Feb 2016 16:23:45 +0000 (17:23 +0100)
committerSimon Sticko <simon.sticko@it.uu.se>
Sat, 13 Feb 2016 16:29:32 +0000 (17:29 +0100)
examples/step-5/step-5.cc

index 964a7618328e7364b5589eaa126ea0973b6aae3b..87ca2a75c4dd539f2de22109dbeca2db7fe5c0e4 100644 (file)
@@ -179,12 +179,12 @@ double Coefficient<dim>::value (const Point<dim> &p,
 // Most people who have tried that soon realize that they introduce lots of
 // errors that would have easily been caught had they run the program in debug
 // mode while developing.) For those who want to try: The way to switch from
-// debug mode to optimized mode is to go edit the Makefile in this
-// directory. It should have a line <code>debug-mode = on</code>; simply
-// replace it by <code>debug-mode = off</code> and recompile your program. The
-// output of the <code>make</code> program should already indicate to you that
-// the program is now compiled in optimized mode, and it will later also be
-// linked to libraries that have been compiled for optimized mode.
+// debug mode to optimized mode is to recompile your program with the command
+// <code>make release</code>. The output of the <code>make</code> program should
+// now indicate to you that the program is now compiled in optimized mode, and
+// it will later also be linked to libraries that have been compiled for
+// optimized mode. In order to switch back to debug mode, simply recompile with
+// the command <code>make debug</code>.
 //
 // Here, as has been said above, we would like to make sure that the size of
 // the two arrays is equal, and if not throw an exception. Comparing the sizes

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.