Warning, /tools/build_options/darwin_ia32_g95 is written in an unsupported language. File is not indexed.
view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
1c397ce2f5 Davi*0001 #!/bin/bash
0002 #
4b37fb239b Patr*0003 # tested on MacBook Pro
0004 # on 28-Nov-2006
1c397ce2f5 Davi*0005
4b37fb239b Patr*0006 CPP='/usr/bin/cpp -traditional -P'
1c397ce2f5 Davi*0007 FC=g95
4b37fb239b Patr*0008 CC=gcc
1c397ce2f5 Davi*0009 LINK=g95
0010 NOOPTFLAGS='-O0'
0011
0012 S64='$(TOOLSDIR)/set64bitConst.sh'
0013 #EH3 MAKEDEPEND='${TOOLSDIR}/xmakedepend'
0014 #EH3 MAKEDEPEND=makedepend
4b37fb239b Patr*0015 DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4'
0016 INCLUDEDIRS='/sw/include'
0017 INCLUDES='-I/sw/include'
0018 LIBS='-L/sw/lib -lnetcdf'
0019 ###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) _ ## X"
0020 ###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"
0021 ###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
1c397ce2f5 Davi*0022
0023 # For IEEE, use the "-ffloat-store" option
0024 if test "x$IEEE" = x ; then
0025 FFLAGS='-Wunused -Wuninitialized'
0026 FOPTIM='-O3 -funroll-loops'
0027 else
0028 FFLAGS='-Wunused -ffloat-store'
0029 FOPTIM='-O0'
0030 fi
0031
4b37fb239b Patr*0032