/[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.52 by adcroft, Thu Dec 4 15:00:01 2003 UTC revision 1.54 by edhill, Fri Dec 5 18:09:35 2003 UTC
# Line 1218  spaths=". $INCLUDEDIRS" Line 1218  spaths=". $INCLUDEDIRS"
1218  names=`ls -1 "$ROOTDIR/pkg"`  names=`ls -1 "$ROOTDIR/pkg"`
1219  for i in $spaths ; do  for i in $spaths ; do
1220      try="$i/CPP_OPTIONS.h"      try="$i/CPP_OPTIONS.h"
1221      if test -f $try -a -r $try -a "x$CPP_OPTIONS" == x ; then      if test -f $try -a -r $try -a "x$CPP_OPTIONS" = x ; then
1222          echo "    found CPP_OPTIONS=\"$try\""          echo "    found CPP_OPTIONS=\"$try\""
1223          CPP_OPTIONS="$try"          CPP_OPTIONS="$try"
1224          # New safety test: make sure packages are not mentioned in CPP_OPTIONS.h          # New safety test: make sure packages are not mentioned in CPP_OPTIONS.h
# Line 1227  for i in $spaths ; do Line 1227  for i in $spaths ; do
1227          done          done
1228      fi      fi
1229      try="$i/CPP_EEOPTIONS.h"      try="$i/CPP_EEOPTIONS.h"
1230      if test -f $try -a -r $try -a "x$CPP_EEOPTIONS" == x ; then      if test -f $try -a -r $try -a "x$CPP_EEOPTIONS" = x ; then
1231          echo "    found CPP_EEOPTIONS=\"$try\""          echo "    found CPP_EEOPTIONS=\"$try\""
1232          # New safety test: make sure MPI is not determined by CPP_EEOPTIONS.h          # New safety test: make sure MPI is not determined by CPP_EEOPTIONS.h
1233  #**** not yet enabled ****  #**** not yet enabled ****
# Line 1353  EXE_FTL=$EXECUTABLE"_ftl" Line 1353  EXE_FTL=$EXECUTABLE"_ftl"
1353  EXE_SVD=$EXECUTABLE"_svd"  EXE_SVD=$EXECUTABLE"_svd"
1354    
1355  cat >>$MAKEFILE <<EOF  cat >>$MAKEFILE <<EOF
1356    #
1357    # OPTFILE="$OPTFILE"
1358  #  #
1359  # BUILDDIR     : Directory where object files are written  # BUILDDIR     : Directory where object files are written
1360  # SOURCEDIRS   : Directories containing the source (.F) files  # SOURCEDIRS   : Directories containing the source (.F) files

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.54

  ViewVC Help
Powered by ViewVC 1.1.22