/[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.206 by jmc, Sun May 23 18:34:43 2010 UTC revision 1.207 by jmc, Wed May 26 00:08:18 2010 UTC
# Line 1883  fi Line 1883  fi
1883  #  they appear as regular source code  #  they appear as regular source code
1884  if test -r $ROOTDIR"/eesupp/src/Makefile" ; then  if test -r $ROOTDIR"/eesupp/src/Makefile" ; then
1885      echo "  Making source files in eesupp from templates"      echo "  Making source files in eesupp from templates"
1886      ( cd $ROOTDIR"/eesupp/src/" && $MAKE ) > make_eesupp.errors 2>&1      ( cd $ROOTDIR"/eesupp/src/" && $MAKE clean_old && $MAKE \
1887        ) > make_eesupp.errors 2>&1
1888      RETVAL=$?      RETVAL=$?
1889      if test "x${RETVAL}" = x0 ; then      if test "x${RETVAL}" = x0 ; then
1890          rm -f make_eesupp.errors          rm -f make_eesupp.errors
# Line 1898  fi Line 1899  fi
1899  for pdir in exch2 regrid ; do  for pdir in exch2 regrid ; do
1900      if test -r $ROOTDIR"/pkg/${pdir}/Makefile" ; then      if test -r $ROOTDIR"/pkg/${pdir}/Makefile" ; then
1901          echo "  Making source files in pkg/${pdir} from templates"          echo "  Making source files in pkg/${pdir} from templates"
1902          ( cd $ROOTDIR"/pkg/"${pdir} && $MAKE ) > make_${pdir}.errors 2>&1          ( cd $ROOTDIR"/pkg/"${pdir} && $MAKE clean_old && $MAKE \
1903            ) > make_${pdir}.errors 2>&1
1904          RETVAL=$?          RETVAL=$?
1905          if test "x${RETVAL}" = x0 ; then          if test "x${RETVAL}" = x0 ; then
1906              rm -f make_${pdir}.errors              rm -f make_${pdir}.errors
# Line 2272  if test -f ./adSrcFiles.tmp ; then Line 2274  if test -f ./adSrcFiles.tmp ; then
2274      rm -f ./adSrcFiles.tmp      rm -f ./adSrcFiles.tmp
2275  fi  fi
2276  echo "  Creating the list of files for the adjoint compiler."  echo "  Creating the list of files for the adjoint compiler."
2277    touch adSrcFiles.tmp
2278  for i in $SOURCEDIRS ; do  for i in $SOURCEDIRS ; do
2279      list_files=`( cd $i && ls -1 *.list 2>/dev/null )`      list_files=`( cd $i && ls -1 *.list 2>/dev/null )`
2280      for j in $list_files ; do      for j in $list_files ; do

Legend:
Removed from v.1.206  
changed lines
  Added in v.1.207

  ViewVC Help
Powered by ViewVC 1.1.22