2 |
|
|
3 |
# $Header$ |
# $Header$ |
4 |
# |
# |
5 |
# cc-compiler is available only with the Apple Developer Tools, |
# tested on MacBook Pro |
6 |
# so make sure that those are installed |
# on 28-Nov-2006 |
|
# |
|
7 |
|
|
8 |
CPP='/usr/bin/cpp -traditional -P -xassembler-with-cpp' |
CPP='/usr/bin/cpp -traditional -P' |
9 |
FC=g95 |
FC=g95 |
10 |
|
CC=gcc |
11 |
LINK=g95 |
LINK=g95 |
12 |
NOOPTFLAGS='-O0' |
NOOPTFLAGS='-O0' |
13 |
|
|
14 |
S64='$(TOOLSDIR)/set64bitConst.sh' |
S64='$(TOOLSDIR)/set64bitConst.sh' |
15 |
#EH3 MAKEDEPEND='${TOOLSDIR}/xmakedepend' |
#EH3 MAKEDEPEND='${TOOLSDIR}/xmakedepend' |
16 |
#EH3 MAKEDEPEND=makedepend |
#EH3 MAKEDEPEND=makedepend |
17 |
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4 -DNML_TERMINATORM' |
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4' |
18 |
INCLUDES='-I/Users/davidferreira/Documents/netcdf-3.6.1/g95/include' |
INCLUDEDIRS='/sw/include' |
19 |
LIBS='-L/Users/davidferreira/Documents/netcdf-3.6.1/g95/lib' |
INCLUDES='-I/sw/include' |
20 |
|
LIBS='-L/sw/lib -lnetcdf' |
21 |
|
###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) _ ## X" |
22 |
|
###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X" |
23 |
|
###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _" |
24 |
|
|
25 |
# For IEEE, use the "-ffloat-store" option |
# For IEEE, use the "-ffloat-store" option |
26 |
if test "x$IEEE" = x ; then |
if test "x$IEEE" = x ; then |
27 |
FFLAGS='-Wunused -Wuninitialized' |
FFLAGS='-Wunused -Wuninitialized' |
28 |
FOPTIM='-O3 -funroll-loops' |
FOPTIM='-O3 -funroll-loops' |
|
# FOPTIM='-O3 -malign-double -funroll-loops' |
|
29 |
else |
else |
30 |
FFLAGS='-Wunused -ffloat-store' |
FFLAGS='-Wunused -ffloat-store' |
31 |
FOPTIM='-O0' |
FOPTIM='-O0' |
32 |
fi |
fi |
33 |
|
|
34 |
|
|