From 4b51ec1a4d7879130d635c1737774fd504d83269 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 8 Jun 1998 01:05:58 +0000 Subject: [PATCH] Add profiling support to the optimized version of this library. git-svn-id: https://svn.dealii.org/trunk@385 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 $@ -- 2.39.5