]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use deal.II/Make.global_options
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 5 Feb 1999 19:47:19 +0000 (19:47 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 5 Feb 1999 19:47:19 +0000 (19:47 +0000)
git-svn-id: https://svn.dealii.org/trunk@760 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/Makefile

index c4eda5a3d16c7b1b18390f04aa55bdbac49ab021..966deb341fc7a8817b1328ca71eb08dd2c29d9cd 100644 (file)
@@ -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 $@
 
 

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.