2 |
|
|
3 |
# $Header$ |
# $Header$ |
4 |
# |
# |
5 |
# tested on MacBook Pro |
# tested on MacBook Pro with Snow Leopard |
6 |
# on 28-Nov-2006 |
# on 20-Nov-2009 |
7 |
|
# gcc and gfortran obtained from |
8 |
|
# http://hpc.sourceforge.net/ |
9 |
|
# http://prdownloads.sourceforge.net/hpc/gcc-snwleo-intel-bin.tar.gz?download |
10 |
|
# http://prdownloads.sourceforge.net/hpc/gfortran-snwleo-intel-bin.tar.gz?download |
11 |
|
|
12 |
CPP='/usr/bin/cpp -traditional -P' |
CPP='/usr/bin/cpp -traditional -P' |
|
#FC=/usr/local/bin/gfortran |
|
13 |
FC=gfortran |
FC=gfortran |
14 |
###CC=gcc |
###CC=gcc |
15 |
#LINK=/usr/local/bin/gfortran |
#Following flag is needed when using 32-bit gfortran with 64-bit gcc, |
16 |
|
#as can be the case right after switching to Snow Leopard. |
17 |
|
#CFLAGS='-arch i386' |
18 |
LINK=gfortran |
LINK=gfortran |
19 |
NOOPTFLAGS='-O0' |
NOOPTFLAGS='-O0' |
20 |
EXTENDED_SRC_FLAG='-ffixed-line-length-132' |
EXTENDED_SRC_FLAG='-ffixed-line-length-132' |
26 |
INCLUDEDIRS='/sw/include' |
INCLUDEDIRS='/sw/include' |
27 |
INCLUDES='-I/sw/include' |
INCLUDES='-I/sw/include' |
28 |
LIBS='-L/sw/lib' |
LIBS='-L/sw/lib' |
|
INCLUDEDIRS='/usr/local/include' |
|
|
INCLUDES='-I/usr/local/include' |
|
|
LIBS='-L/usr/local/lib' |
|
29 |
|
|
30 |
##INCLUDEDIRS='/Users/heimbach/NetCDF/netcdf-3.6.0-p1/gfortran/include' |
##INCLUDEDIRS='/Users/heimbach/NetCDF/netcdf-3.6.0-p1/gfortran/include' |
31 |
##INCLUDES='-I/Users/heimbach/NetCDF/netcdf-3.6.0-p1/gfortran/include' |
##INCLUDES='-I/Users/heimbach/NetCDF/netcdf-3.6.0-p1/gfortran/include' |