1402 |
fi |
fi |
1403 |
|
|
1404 |
# Find the MITgcm ${THISVER} |
# Find the MITgcm ${THISVER} |
1405 |
if test -f "${ROOTDIR}/doc/tag-index" ; then |
version_file="${ROOTDIR}/doc/tag-index" |
1406 |
THISVER=`grep '^checkpoint' ${ROOTDIR}/doc/tag-index | head -1` |
if test -f $version_file ; then |
1407 |
|
THISVER=`grep '^checkpoint' $version_file | head -1` |
1408 |
|
#- remove ./BUILD_INFO.h file if older than version_file |
1409 |
|
if test -f ./BUILD_INFO.h -a ./BUILD_INFO.h -ot $version_file ; then |
1410 |
|
echo " remove ./BUILD_INFO.h (older than ${version_file})" |
1411 |
|
rm -f ./BUILD_INFO.h |
1412 |
|
fi |
1413 |
fi |
fi |
1414 |
|
|
1415 |
if test "x$MAKEFILE" = x ; then |
if test "x$MAKEFILE" = x ; then |
3005 |
|
|
3006 |
# canonicalizer |
# canonicalizer |
3007 |
ad_input_code_sf.w2f.pre.f$FS90: ad_input_code_sf.w2f.f$FS90 preProcess.py |
ad_input_code_sf.w2f.pre.f$FS90: ad_input_code_sf.w2f.f$FS90 preProcess.py |
3008 |
./preProcess.py -H \$< -o \$@ |
./preProcess.py --mode=reverse \$< -o \$@ |
3009 |
|
|
3010 |
# F -> WHIRL |
# F -> WHIRL |
3011 |
# note that the canonicalized version cuts off at col 72 |
# note that the canonicalized version cuts off at col 72 |