From 5db8a3d5085ea2bd561991762519365c88004f58 Mon Sep 17 00:00:00 2001 From: Simon Sticko Date: Sat, 13 Feb 2016 17:23:45 +0100 Subject: [PATCH] Update description in step-5 on how to switch to release mode. --- examples/step-5/step-5.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/step-5/step-5.cc b/examples/step-5/step-5.cc index 964a761832..87ca2a75c4 100644 --- a/examples/step-5/step-5.cc +++ b/examples/step-5/step-5.cc @@ -179,12 +179,12 @@ double Coefficient::value (const Point &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 debug-mode = on; simply -// replace it by debug-mode = off and recompile your program. The -// output of the make 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 +// make release. The output of the make 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 make debug. // // 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 -- 2.39.5