-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow float- and long double-precision compilation.
- Loading branch information
stevencwilliams
committed
Dec 29, 2011
1 parent
4c46673
commit 1d8efb7
Showing
170 changed files
with
3,961 additions
and
4,798 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,35 @@ | ||
# Arguments to be sent to the C++ compiler | ||
# Some arguments may already be specified in Makefile | ||
# To enable parallel processing with OpenMP add "-fopenmp" (assuming gcc) | ||
# To build for a particular architecture add "-arch <arch>", | ||
# where <arch> is the specific architecture; e.g., "-arch i386" | ||
CXXFLAGS += | ||
# To compile with float precision, replace "-DGSL_DOUBLE" with "-DGSL_FLOAT" | ||
# To compile with long double precision, replace "-DGSL_DOUBLE" with "-DGSL_LONG_DOUBLE" | ||
# WARNING: SWIG wrappers are only set up to work with double precision | ||
# To enable parallel processing with OpenMP, add "-fopenmp" | ||
# To build for a particular architecture, add "-arch <arch>" (e.g., "-arch i386") | ||
# On Linux, "-fPIC" may be required? | ||
CXXFLAGS += -DGSL_DOUBLE | ||
|
||
# Installation directory | ||
install_dir = /usr/local | ||
|
||
# The following variables are only needed for SWIG | ||
# If you aren't generating Python bindings, you don't need to worry about them | ||
|
||
# A typical value for the Python header file directory is | ||
python_dir_apple = /Library/Frameworks/Python.framework/Versions/Current/include/python2.6 | ||
# Typical values for python_dir in different environments | ||
python_dir_apple = /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 | ||
python_dir_linux = /usr/include/python2.6 | ||
|
||
# Python header file directory | ||
# This points to the C header files required to compile the SWIG bindings | ||
# This is the location of the C++ header files required to build Python bindings | ||
# You may be able to use one of the previously defined variables | ||
# E.g., python_dir = $(python_dir_apple) | ||
python_dir = | ||
|
||
# Typical values for swig_lib_flags in different environments | ||
# You probably don't need to change these | ||
swig_lib_flags_apple = -bundle -flat_namespace -undefined suppress | ||
swig_lib_flags_linux = -shared | ||
|
||
# Arguments for generating a shared library from SWIG wrappers | ||
# You can probably use one of the previously defined variables | ||
# You may be able to use one of the previously defined variables | ||
# E.g., swig_lib_flags = $(swig_lib_flags_apple) | ||
# On Linux, "-lpython2.6" may be required? | ||
swig_lib_flags = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.