/[MITgcm]/MITgcm/tools/genmake
ViewVC logotype

Diff of /MITgcm/tools/genmake

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

revision 1.33.2.6 by adcroft, Wed Mar 28 16:36:08 2001 UTC revision 1.33.2.7 by adcroft, Wed Mar 28 19:39:58 2001 UTC
# Line 135  if (! $?mfile) set mfile = ( Makefile ) Line 135  if (! $?mfile) set mfile = ( Makefile )
135  set mach  = ( `uname -a` )  set mach  = ( `uname -a` )
136  echo Operating system: $mach  echo Operating system: $mach
137    
   
138  # Directories for source, includes, binaries and executables  # Directories for source, includes, binaries and executables
139  #  #
140  # If -rootdir wasn't specified then assume script is being run from bin  # If -rootdir wasn't specified then assume script is being run from bin
# Line 194  if (! -d $TOOLSDIR) then Line 193  if (! -d $TOOLSDIR) then
193  endif  endif
194  if (! $?EXECUTABLE) set EXECUTABLE  = ( mitgcmuv )  if (! $?EXECUTABLE) set EXECUTABLE  = ( mitgcmuv )
195    
196    # We have a special set of source files in eesupp/src which
197    # are generated from some template source files. We'll make them
198    # first so the appear as regular source code
199    if (-r $ROOTDIR/eesupp/src/Makefile) then
200     echo Making source files in eesupp from templates...
201     (cd $ROOTDIR/eesupp/src/; make) >& make_eesupp.errs
202     if ($status == 0) then
203       rm -f make_eesupp.errs
204     else
205       cat make_eesupp.errs
206       exit 2
207     endif
208    endif
209    
210  # Now scan the standard source code tree  # Now scan the standard source code tree
211  foreach dr ($SOURCEDIRS)  foreach dr ($SOURCEDIRS)
212    set adr=$dr    set adr=$dr

Legend:
Removed from v.1.33.2.6  
changed lines
  Added in v.1.33.2.7

  ViewVC Help
Powered by ViewVC 1.1.22