/[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.48 by heimbach, Tue Nov 25 16:03:38 2003 UTC revision 1.51 by adcroft, Wed Dec 3 19:46:10 2003 UTC
# Line 1  Line 1 
1  #!/bin/sh  #! /usr/bin/env bash
2  #  #
3  # $Header$  # $Header$
4  #  #
# Line 586  for ac_option ; do Line 586  for ac_option ; do
586          -optfile=* | --optfile=* | -of=* | --of=*)          -optfile=* | --optfile=* | -of=* | --of=*)
587              OPTFILE=$ac_optarg ;;              OPTFILE=$ac_optarg ;;
588                    
589          -adoptfile | --adoptfile | -ad | --ad)          -adoptfile | --adoptfile | -adof | --adof)
590              ac_prev=AD_OPTFILE ;;              ac_prev=AD_OPTFILE ;;
591          -adoptfile=* | --adoptfile=* | -adof=* | --adof=*)          -adoptfile=* | --adoptfile=* | -adof=* | --adof=*)
592              AD_OPTFILE=$ac_optarg ;;              AD_OPTFILE=$ac_optarg ;;
# Line 1447  cat >>$MAKEFILE <<EOF Line 1447  cat >>$MAKEFILE <<EOF
1447  .SUFFIXES: .o .f .p .F .c .F90 .f90  .SUFFIXES: .o .f .p .F .c .F90 .f90
1448    
1449  all: \$(EXECUTABLE)  all: \$(EXECUTABLE)
1450  \$(EXECUTABLE): links \$(OBJFILES)  \$(EXECUTABLE): ${PACKAGES_DOT_H} AD_CONFIG.h \$(SRCFILES) \$(CSRCFILES) \$(HEADERFILES) \$(F90SRCFILES) \$(OBJFILES)
1451          @echo Creating \$@ ...          @echo Creating \$@ ...
1452          \$(LINK) -o \$@ \$(FFLAGS) \$(FOPTIM) \$(OBJFILES) \$(LIBS)          \$(LINK) -o \$@ \$(FFLAGS) \$(FOPTIM) \$(OBJFILES) \$(LIBS)
1453  depend:  depend:
# Line 1469  Clean: Line 1469  Clean:
1469          @make clean          @make clean
1470          @make cleanlinks          @make cleanlinks
1471          -rm -f ${PACKAGES_DOT_H} AD_CONFIG.h          -rm -f ${PACKAGES_DOT_H} AD_CONFIG.h
1472          -rm -f Makefile.bak genmake_state genmake_*optfile genmake_warnings make.log          -rm -f genmake_state genmake_*optfile genmake_warnings make.log run.log *.bak
1473  CLEAN:  CLEAN:
1474          @make Clean          @make Clean
1475          -find \$(EXEDIR) -name "*.meta" -exec rm {} \;          -find \$(EXEDIR) -name "*.meta" -exec rm {} \;

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.51

  ViewVC Help
Powered by ViewVC 1.1.22