From: guido Date: Fri, 5 Feb 1999 19:47:19 +0000 (+0000) Subject: Use deal.II/Make.global_options X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b701909e9f45fa188dc015cbe88794aa2b6e573f;p=dealii-svn.git Use deal.II/Make.global_options git-svn-id: https://svn.dealii.org/trunk@760 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/Makefile b/deal.II/base/source/Makefile index c4eda5a3d1..966deb341f 100644 --- a/deal.II/base/source/Makefile +++ b/deal.II/base/source/Makefile @@ -1,13 +1,8 @@ # $Id$ -CXX = c++ -INCLUDE = -I../include -I../../base/include -CXXFLAGS.g= -DDEBUG -g -Wall -W -pedantic -Wconversion \ - -Winline -Woverloaded-virtual \ - $(INCLUDE) -CXXFLAGS =-O3 -Wuninitialized -finline-functions -ffast-math \ - -felide-constructors -fnonnull-objects \ - $(INCLUDE) +D=../.. + +include $D/deal.II/Make.global_options cc-files = $(wildcard *.cc) o-files = $(cc-files:.cc=.o) @@ -16,12 +11,10 @@ h-files = $(wildcard ../include/*/*.h) %.go : %.cc Makefile - @echo ============================ Compiling with debugging information: $< - @echo $(CXX) ... -c $< -o $@ + @echo ======== DEBUG =================== $< @$(CXX) $(CXXFLAGS.g) -c $< -o $@ %.o : %.cc Makefile - @echo ============================ Compiling with optimization: $< - @echo $(CXX) ... -c $< -o $@ + @echo ======== OPTIMIZE ================ $< @$(CXX) $(CXXFLAGS) -c $< -o $@