1 |
#!/bin/bash |
#!/bin/bash |
|
|
|
|
# $Header$ |
|
2 |
# |
# |
3 |
# tested on MacBook Pro |
# $Header$ |
4 |
# on 28-Nov-2006 |
# $Name$ |
5 |
|
|
6 |
|
# tested on MacBook Pro with Snow Leopard |
7 |
|
# on 20-Nov-2009 |
8 |
|
# gcc and gfortran obtained from |
9 |
|
# http://hpc.sourceforge.net/ |
10 |
|
# http://prdownloads.sourceforge.net/hpc/gcc-snwleo-intel-bin.tar.gz?download |
11 |
|
# http://prdownloads.sourceforge.net/hpc/gfortran-snwleo-intel-bin.tar.gz?download |
12 |
|
|
13 |
CPP='/usr/bin/cpp -traditional -P' |
CPP='/usr/bin/cpp -traditional -P' |
14 |
FC=gfortran |
FC=gfortran |
15 |
###CC=gcc |
###CC=gcc |
16 |
|
#Following flag is needed when using 32-bit gfortran with 64-bit gcc, |
17 |
|
#as can be the case right after switching to Snow Leopard. |
18 |
|
#CFLAGS='-arch i386' |
19 |
LINK=gfortran |
LINK=gfortran |
20 |
NOOPTFLAGS='-O0' |
NOOPTFLAGS='-O0' |
21 |
EXTENDED_SRC_FLAG='-ffixed-line-length-132' |
EXTENDED_SRC_FLAG='-ffixed-line-length-132' |