From: Wolfgang Bangerth Date: Mon, 8 Jun 1998 01:05:58 +0000 (+0000) Subject: Add profiling support to the optimized version of this library. X-Git-Tag: v8.0.0~22869 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b51ec1a4d7879130d635c1737774fd504d83269;p=dealii.git Add profiling support to the optimized version of this library. git-svn-id: https://svn.dealii.org/trunk@385 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/Makefile b/deal.II/lac/source/Makefile index 6dc445564c..41ef4b8ea6 100644 --- a/deal.II/lac/source/Makefile +++ b/deal.II/lac/source/Makefile @@ -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 $@