/[MITgcm]/MITgcm/tools/genmake2
ViewVC logotype

Diff of /MITgcm/tools/genmake2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.7 by edhill, Mon Sep 22 19:06:12 2003 UTC revision 1.8 by edhill, Tue Sep 23 15:53:02 2003 UTC
# Line 389  else Line 389  else
389      fi      fi
390  fi  fi
391    
392    #  Check that FC, LINK, CPP, and S64 are defined.  If not, complain
393    #  and abort!
394    if test "x$FC" = x ; then
395        cat <<EOF 1>&2
396    
397    Error: no Fortran compiler: please specify using one of the following:
398      1) within the options file ("FC=...") as specified by "-of=OPTFILE"
399      2) the "-fc=XXX" command-line option
400      3) the "./gm_local" file
401    EOF
402        exit 1
403    fi
404    if test "x$LINK" = x ; then
405        LINK=$FC
406    fi
407    if test "x$CPP" = x ; then
408        cat <<EOF 1>&2
409    
410    Error: no C pre-processor: please specify using one of the following:
411      1) within the options file ("CPP=...") as specified by "-of=OPTFILE"
412      2) the "./gm_local" file
413    EOF
414        exit 1
415    fi
416    if test "x$S64" = x ; then
417        cat <<EOF 1>&2
418    
419    Error: no C pre-processor: please specify using one of the following:
420      1) within the options file ("S64=...") as specified by "-of=OPTFILE"
421      2) the "./gm_local" file
422    EOF
423        exit 1
424    fi
425    
426    
427  printf "\n===  Setting defaults  ===\n"  printf "\n===  Setting defaults  ===\n"
428  echo -n "  Adding MODS directories:  "  echo -n "  Adding MODS directories:  "
429  for d in $MODS ; do  for d in $MODS ; do

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.22