]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add profiling support to the optimized version of this library.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 8 Jun 1998 01:05:58 +0000 (01:05 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 8 Jun 1998 01:05:58 +0000 (01:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@385 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/Makefile

index 6dc445564cac4f09ddda1d11e5a868df0b75533c..41ef4b8ea64fdfafb91fa0fe8e7797f259f2e19b 100644 (file)
@@ -7,7 +7,7 @@ CXXFLAGS.g= -DDEBUG -g -Wall -W -pedantic -Wconversion \
             $(INCLUDE)
 CXXFLAGS  =-O3 -Wuninitialized -finline-functions -ffast-math \
            -funroll-loops -felide-constructors -fnonnull-objects \
-           -fno-rtti -fno-exceptions $(INCLUDE)
+           -fno-rtti -fno-exceptions -pg $(INCLUDE)
 
 ifeq ($(shell uname),Linux)
 CXX       = /home/wolf/bin/gcc/bin/c++
@@ -24,11 +24,11 @@ go-files = $(cc-files:.cc=.go)
 h-files  = $(wildcard ../include/*/*.h)
 
 
-%.go : %.cc
+%.go : %.cc Makefile
        @echo ============================ Compiling with debugging information:   $<
        @echo $(CXX) ... -c $< -o $@
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
-%.o : %.cc
+%.o : %.cc Makefile
        @echo ============================ Compiling with optimization:   $<
        @echo $(CXX) ... -c $< -o $@
        @$(CXX) $(CXXFLAGS) -c $< -o $@

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.