/[MITgcm]/MITgcm_contrib/mlosch/optim_m1qn3/Makefile
ViewVC logotype

Diff of /MITgcm_contrib/mlosch/optim_m1qn3/Makefile

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

revision 1.3 by heimbach, Fri Sep 7 19:57:46 2012 UTC revision 1.4 by mlosch, Mon May 9 09:36:00 2016 UTC
# Line 73  FFLAGS          =  -fconvert=big-endian Line 73  FFLAGS          =  -fconvert=big-endian
73  SMALLF      = $(SRC:.F=.$(SUFF))  SMALLF      = $(SRC:.F=.$(SUFF))
74  OBJECTS     = $(SRC:.F=.o)  OBJECTS     = $(SRC:.F=.o)
75    
76    .SUFFIXES:
77  .SUFFIXES: .o .$(SUFF) .F  .SUFFIXES: .o .$(SUFF) .F
78    
79  all: small_f $(EXECUTABLE)  all: small_f $(EXECUTABLE)
# Line 82  $(EXECUTABLE): $(OBJECTS) Line 83  $(EXECUTABLE): $(OBJECTS)
83  small_f: $(SMALLF)  small_f: $(SMALLF)
84    
85  depend:  depend:
86          $(MAKEDEPEND) -o .f $(INCLUDEDIRS) $(SRC)          $(MAKEDEPEND) -o .$(SUFF) $(INCLUDEDIRS) $(SRC)
87    
88  # The normal chain of rules is (  .F - .f - .o  )  # The normal chain of rules is (  .F - .f - .o  )
 .F.f:  
         $(CPP) $(CPPFLAGS) $(INCLUDEDIRS) > $@  
89  .F.for:  .F.for:
90          $(CPP) $(CPPFLAGS) $(INCLUDEDIRS) > $@          $(CPP) $(CPPFLAGS) $(INCLUDEDIRS) > $@
 .f.o:  
         $(FC) $(FFLAGS) -c $<  
91  .for.o:  .for.o:
92          $(FC) $(FFLAGS) -c $<          $(FC) $(FFLAGS) -c $<
93    .F.f:
94            $(CPP) $(CPPFLAGS) $(INCLUDEDIRS) > $@
95    .f.o:
96            $(FC) $(FFLAGS) -c $<
97    
98  # Cleaning options.  # Cleaning options.
99  clean:  clean:
# Line 108  CLEAN: Line 109  CLEAN:
109    
110  # DO NOT DELETE  # DO NOT DELETE
111    
 optim_sub.f: ../../../tmp3/MITgcm/verification/lab_sea/build/ECCO_CPPOPTIONS.h  
 optim_sub.f: ../../../tmp3/MITgcm/verification/lab_sea/build/EEPARAMS.h  
 optim_sub.f: ../../../tmp3/MITgcm/verification/lab_sea/build/SIZE.h  
 optim_sub.f: ../../../tmp3/MITgcm/verification/lab_sea/build/ctrl.h optim.h  
 optim_sub.f: m1qn3_common.h  
 optim_readparms.f: ../../../tmp3/MITgcm/verification/lab_sea/build/ECCO_CPPOPTIONS.h  
 optim_readparms.f: ../../../tmp3/MITgcm/verification/lab_sea/build/EEPARAMS.h  
 optim_readparms.f: ../../../tmp3/MITgcm/verification/lab_sea/build/SIZE.h  
 optim_readparms.f: ../../../tmp3/MITgcm/verification/lab_sea/build/ctrl.h  
 optim_readparms.f: optim.h  
 optim_readdata.f: ../../../tmp3/MITgcm/verification/lab_sea/build/ECCO_CPPOPTIONS.h  
 optim_readdata.f: ../../../tmp3/MITgcm/verification/lab_sea/build/EEPARAMS.h  
 optim_readdata.f: ../../../tmp3/MITgcm/verification/lab_sea/build/SIZE.h  
 optim_readdata.f: ../../../tmp3/MITgcm/verification/lab_sea/build/ctrl.h  
 optim_readdata.f: optim.h  
 optim_writedata.f: ../../../tmp3/MITgcm/verification/lab_sea/build/ECCO_CPPOPTIONS.h  
 optim_writedata.f: ../../../tmp3/MITgcm/verification/lab_sea/build/EEPARAMS.h  
 optim_writedata.f: ../../../tmp3/MITgcm/verification/lab_sea/build/SIZE.h  
 optim_writedata.f: ../../../tmp3/MITgcm/verification/lab_sea/build/ctrl.h  
 optim_writedata.f: optim.h  
 optim_store_m1qn3.f: m1qn3_common.h m1qn3a_common.h mlis3_common.h  
 m1qn3_offline.f: m1qn3_common.h m1qn3a_common.h mlis3_common.h  

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22