]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Externalize compiler options out of subdirectories into a central repository.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 24 May 1998 21:13:30 +0000 (21:13 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 24 May 1998 21:13:30 +0000 (21:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@346 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/Attic/examples/convergence/Makefile
deal.II/deal.II/Attic/examples/dof/Makefile
deal.II/deal.II/Attic/examples/error-estimation/Makefile
deal.II/deal.II/Attic/examples/grid/Makefile
deal.II/deal.II/Attic/examples/poisson/Makefile
deal.II/deal.II/Make.global_options [new file with mode: 0644]
tests/big-tests/convergence/Makefile
tests/big-tests/dof/Makefile
tests/big-tests/error-estimation/Makefile
tests/big-tests/grid/Makefile
tests/big-tests/poisson/Makefile

index 17bc9597f566cf881be06b15b7013b57863949ba..5361794214612c1eb4e8dc03cd16c75da6c8fe18 100644 (file)
@@ -36,25 +36,7 @@ delete-files = gnuplot* *.eps
 ###############################################################################
 # Internals
 
-CXX       = c++
-INCLUDE   = -I../../include -I../../../lac/include \
-            -I../../../base/include -I../../../mia/include
-CXXFLAGS.g= -DDEBUG -g -Wall -W -pedantic -Wconversion \
-            -Winline -Woverloaded-virtual -fno-rtti -fno-exceptions \
-            $(INCLUDE)
-CXXFLAGS  =-O3 -Wuninitialized -finline-functions -ffast-math \
-           -funroll-loops -felide-constructors -fnonnull-objects \
-           -fno-rtti -fno-exceptions $(INCLUDE)
-
-
-# if on specific systems, change compiler path
-ifeq ($(shell uname),Linux)
-CXX       = /home/wolf/bin/gcc-2.8.1/bin/c++
-endif
-
-ifeq ($(shell uname),SunOS)
-CXX       = /usr/local/gcc/gcc-2.8.1/bin/c++
-endif
+include ../../Make.global_options
 
 
 # get lists of files we need
index d9e9c6c50145401710fb0289145a128fd1922f23..5c2be0e3186cfea7b9a67b45b2195fdd76c15dcc 100644 (file)
@@ -36,25 +36,7 @@ delete-files = grid* sparsity* *.eps
 ###############################################################################
 # Internals
 
-CXX       = c++
-INCLUDE   = -I../../include -I../../../lac/include \
-            -I../../../base/include -I../../../mia/include
-CXXFLAGS.g= -DDEBUG -g -Wall -W -pedantic -Wconversion \
-            -Winline -Woverloaded-virtual -fno-rtti -fno-exceptions \
-            $(INCLUDE)
-CXXFLAGS  =-O3 -Wuninitialized -finline-functions -ffast-math \
-           -funroll-loops -felide-constructors -fnonnull-objects \
-           -fno-rtti -fno-exceptions $(INCLUDE)
-
-
-# if on specific systems, change compiler path
-ifeq ($(shell uname),Linux)
-CXX       = /home/wolf/bin/gcc-2.8.1/bin/c++
-endif
-
-ifeq ($(shell uname),SunOS)
-CXX       = /usr/local/gcc/gcc-2.8.1/bin/c++
-endif
+include ../../Make.global_options
 
 
 # get lists of files we need
index 3a85970222e69b33c85c56ba61bc8f2df4e4ba2b..d821180ebfa40883dd2458059e5a6fe79ca72101 100644 (file)
@@ -41,25 +41,7 @@ delete-files = data-*/*
 ###############################################################################
 # Internals
 
-CXX       = c++
-INCLUDE   = -I../../include -I../../../lac/include \
-            -I../../../base/include -I../../../mia/include
-CXXFLAGS.g= -DDEBUG -g -Wall -W -pedantic -Wconversion \
-            -Winline -Woverloaded-virtual -fno-rtti -fno-exceptions \
-            $(INCLUDE)
-CXXFLAGS  =-O3 -Wuninitialized -finline-functions -ffast-math \
-           -funroll-loops -felide-constructors -fnonnull-objects \
-           -fno-rtti -fno-exceptions $(INCLUDE)
-
-
-# if on specific systems, change compiler path
-ifeq ($(shell uname),Linux)
-CXX       = /home/wolf/bin/gcc-2.8.1/bin/c++
-endif
-
-ifeq ($(shell uname),SunOS)
-CXX       = /usr/local/gcc/gcc-2.8.1/bin/c++
-endif
+include ../../Make.global_options
 
 
 # get lists of files we need
index e342a03c41b1b5f30c1757828ed7e5eb09ba40f6..a16569986e2ed4f93e4f93b6ae750116c16feb83 100644 (file)
@@ -36,25 +36,7 @@ delete-files = grid.? *.eps
 ###############################################################################
 # Internals
 
-CXX       = c++
-INCLUDE   = -I../../include -I../../../lac/include \
-            -I../../../base/include -I../../../mia/include
-CXXFLAGS.g= -DDEBUG -g -Wall -W -pedantic -Wconversion \
-            -Winline -Woverloaded-virtual -fno-rtti -fno-exceptions \
-            $(INCLUDE)
-CXXFLAGS  =-O3 -Wuninitialized -finline-functions -ffast-math \
-           -funroll-loops -felide-constructors -fnonnull-objects \
-           -fno-rtti -fno-exceptions $(INCLUDE)
-
-
-# if on specific systems, change compiler path
-ifeq ($(shell uname),Linux)
-CXX       = /home/wolf/bin/gcc-2.8.1/bin/c++
-endif
-
-ifeq ($(shell uname),SunOS)
-CXX       = /usr/local/gcc/gcc-2.8.1/bin/c++
-endif
+include ../../Make.global_options
 
 
 # get lists of files we need
index 1093926d2cba85d0585a3751028c9ac086c62f75..6c3cbc83fbce9fe715ccd6d383b40c92a6508e97 100644 (file)
@@ -36,25 +36,7 @@ delete-files = gnuplot* *.eps
 ###############################################################################
 # Internals
 
-CXX       = c++
-INCLUDE   = -I../../include -I../../../lac/include \
-            -I../../../base/include -I../../../mia/include
-CXXFLAGS.g= -DDEBUG -g -Wall -W -pedantic -Wconversion \
-            -Winline -Woverloaded-virtual -fno-rtti -fno-exceptions \
-            $(INCLUDE)
-CXXFLAGS  =-O3 -Wuninitialized -finline-functions -ffast-math \
-           -funroll-loops -felide-constructors -fnonnull-objects \
-           -fno-rtti -fno-exceptions $(INCLUDE)
-
-
-# if on specific systems, change compiler path
-ifeq ($(shell uname),Linux)
-CXX       = /home/wolf/bin/gcc-2.8.1/bin/c++
-endif
-
-ifeq ($(shell uname),SunOS)
-CXX       = /usr/local/gcc/gcc-2.8.1/bin/c++
-endif
+include ../../Make.global_options
 
 
 # get lists of files we need
diff --git a/deal.II/deal.II/Make.global_options b/deal.II/deal.II/Make.global_options
new file mode 100644 (file)
index 0000000..4827943
--- /dev/null
@@ -0,0 +1,21 @@
+# $Id$
+# Global options for all compilations
+
+
+CXX       = c++
+INCLUDE   = -I../../include -I../../../lac/include \
+            -I../../../base/include -I../../../mia/include
+CXXFLAGS.g= -DDEBUG -g -Wall -W -pedantic -Wconversion \
+            -Winline -Woverloaded-virtual -fno-rtti -fno-exceptions \
+            $(INCLUDE)
+CXXFLAGS  =-O3 -Wuninitialized -finline-functions -ffast-math \
+           -funroll-loops -felide-constructors -fnonnull-objects \
+           -pg -fno-rtti -fno-exceptions $(INCLUDE)
+
+ifeq ($(shell uname),Linux)
+CXX       = /home/wolf/bin/gcc/bin/c++
+endif
+
+ifeq ($(shell uname),SunOS)
+CXX       = /usr/local/gcc/gcc-2.8.1/bin/c++
+endif
index 17bc9597f566cf881be06b15b7013b57863949ba..5361794214612c1eb4e8dc03cd16c75da6c8fe18 100644 (file)
@@ -36,25 +36,7 @@ delete-files = gnuplot* *.eps
 ###############################################################################
 # Internals
 
-CXX       = c++
-INCLUDE   = -I../../include -I../../../lac/include \
-            -I../../../base/include -I../../../mia/include
-CXXFLAGS.g= -DDEBUG -g -Wall -W -pedantic -Wconversion \
-            -Winline -Woverloaded-virtual -fno-rtti -fno-exceptions \
-            $(INCLUDE)
-CXXFLAGS  =-O3 -Wuninitialized -finline-functions -ffast-math \
-           -funroll-loops -felide-constructors -fnonnull-objects \
-           -fno-rtti -fno-exceptions $(INCLUDE)
-
-
-# if on specific systems, change compiler path
-ifeq ($(shell uname),Linux)
-CXX       = /home/wolf/bin/gcc-2.8.1/bin/c++
-endif
-
-ifeq ($(shell uname),SunOS)
-CXX       = /usr/local/gcc/gcc-2.8.1/bin/c++
-endif
+include ../../Make.global_options
 
 
 # get lists of files we need
index d9e9c6c50145401710fb0289145a128fd1922f23..5c2be0e3186cfea7b9a67b45b2195fdd76c15dcc 100644 (file)
@@ -36,25 +36,7 @@ delete-files = grid* sparsity* *.eps
 ###############################################################################
 # Internals
 
-CXX       = c++
-INCLUDE   = -I../../include -I../../../lac/include \
-            -I../../../base/include -I../../../mia/include
-CXXFLAGS.g= -DDEBUG -g -Wall -W -pedantic -Wconversion \
-            -Winline -Woverloaded-virtual -fno-rtti -fno-exceptions \
-            $(INCLUDE)
-CXXFLAGS  =-O3 -Wuninitialized -finline-functions -ffast-math \
-           -funroll-loops -felide-constructors -fnonnull-objects \
-           -fno-rtti -fno-exceptions $(INCLUDE)
-
-
-# if on specific systems, change compiler path
-ifeq ($(shell uname),Linux)
-CXX       = /home/wolf/bin/gcc-2.8.1/bin/c++
-endif
-
-ifeq ($(shell uname),SunOS)
-CXX       = /usr/local/gcc/gcc-2.8.1/bin/c++
-endif
+include ../../Make.global_options
 
 
 # get lists of files we need
index 3a85970222e69b33c85c56ba61bc8f2df4e4ba2b..d821180ebfa40883dd2458059e5a6fe79ca72101 100644 (file)
@@ -41,25 +41,7 @@ delete-files = data-*/*
 ###############################################################################
 # Internals
 
-CXX       = c++
-INCLUDE   = -I../../include -I../../../lac/include \
-            -I../../../base/include -I../../../mia/include
-CXXFLAGS.g= -DDEBUG -g -Wall -W -pedantic -Wconversion \
-            -Winline -Woverloaded-virtual -fno-rtti -fno-exceptions \
-            $(INCLUDE)
-CXXFLAGS  =-O3 -Wuninitialized -finline-functions -ffast-math \
-           -funroll-loops -felide-constructors -fnonnull-objects \
-           -fno-rtti -fno-exceptions $(INCLUDE)
-
-
-# if on specific systems, change compiler path
-ifeq ($(shell uname),Linux)
-CXX       = /home/wolf/bin/gcc-2.8.1/bin/c++
-endif
-
-ifeq ($(shell uname),SunOS)
-CXX       = /usr/local/gcc/gcc-2.8.1/bin/c++
-endif
+include ../../Make.global_options
 
 
 # get lists of files we need
index e342a03c41b1b5f30c1757828ed7e5eb09ba40f6..a16569986e2ed4f93e4f93b6ae750116c16feb83 100644 (file)
@@ -36,25 +36,7 @@ delete-files = grid.? *.eps
 ###############################################################################
 # Internals
 
-CXX       = c++
-INCLUDE   = -I../../include -I../../../lac/include \
-            -I../../../base/include -I../../../mia/include
-CXXFLAGS.g= -DDEBUG -g -Wall -W -pedantic -Wconversion \
-            -Winline -Woverloaded-virtual -fno-rtti -fno-exceptions \
-            $(INCLUDE)
-CXXFLAGS  =-O3 -Wuninitialized -finline-functions -ffast-math \
-           -funroll-loops -felide-constructors -fnonnull-objects \
-           -fno-rtti -fno-exceptions $(INCLUDE)
-
-
-# if on specific systems, change compiler path
-ifeq ($(shell uname),Linux)
-CXX       = /home/wolf/bin/gcc-2.8.1/bin/c++
-endif
-
-ifeq ($(shell uname),SunOS)
-CXX       = /usr/local/gcc/gcc-2.8.1/bin/c++
-endif
+include ../../Make.global_options
 
 
 # get lists of files we need
index 1093926d2cba85d0585a3751028c9ac086c62f75..6c3cbc83fbce9fe715ccd6d383b40c92a6508e97 100644 (file)
@@ -36,25 +36,7 @@ delete-files = gnuplot* *.eps
 ###############################################################################
 # Internals
 
-CXX       = c++
-INCLUDE   = -I../../include -I../../../lac/include \
-            -I../../../base/include -I../../../mia/include
-CXXFLAGS.g= -DDEBUG -g -Wall -W -pedantic -Wconversion \
-            -Winline -Woverloaded-virtual -fno-rtti -fno-exceptions \
-            $(INCLUDE)
-CXXFLAGS  =-O3 -Wuninitialized -finline-functions -ffast-math \
-           -funroll-loops -felide-constructors -fnonnull-objects \
-           -fno-rtti -fno-exceptions $(INCLUDE)
-
-
-# if on specific systems, change compiler path
-ifeq ($(shell uname),Linux)
-CXX       = /home/wolf/bin/gcc-2.8.1/bin/c++
-endif
-
-ifeq ($(shell uname),SunOS)
-CXX       = /usr/local/gcc/gcc-2.8.1/bin/c++
-endif
+include ../../Make.global_options
 
 
 # get lists of files we need

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.