This is the MOM5 component integrated in the IOW earth-system model.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
2.3 KiB

# Makefile template for t90
FC = f90
LD = f90
LDFLAGS = -Wl"-Dpreset=nan $(LIBS)"
LIST = -O negmsgs -rs
# you should never need to change any lines below.
# see the CF90 manual for more details on some of the file extensions
# discussed here.
# this makefile template recognizes fortran sourcefiles with extensions
# .f, .f90, .F, .F90. Given a sourcefile <file>.<ext>, where <ext> is one of
# the above, this provides a number of default actions:
# make <file>.T create a CIF file
# make <file>.lst create a compiler listing
# make <file>.o create an object file
# make <file>.s create an assembly listing
# make <file>.x create an executable file, assuming standalone
# source
# make <file>.i create a preprocessed file (only for .F and .F90
# extensions)
# make <file>.hpm produce hpm output from <file>.x
# make <file>.proc produce procstat output from <file>.x
# The macro TMPFILES is provided to slate files like the above for removal.
RM = rm -f
SHELL = /bin/csh
TMPFILES = .*.m *.T *.TT *.hpm *.i *.lst *.proc *.s
.SUFFIXES: .F .F90 .H .T .f .F90 .h .hpm .i .lst .proc .o .s .x
$(FC) $(FFLAGS) -c -Ca $*.f
$(FC) $(FFLAGS) $(LIST) -c $*.f
$(FC) $(FFLAGS) -c $*.f
$(FC) $(FFLAGS) -eS $*.f
$(FC) $(FFLAGS) $(LDFLAGS) -o $*.x $*.f
$(FC) $(FFLAGS) -c -Ca $*.f90
$(FC) $(FFLAGS) $(LIST) -c $*.f90
$(FC) $(FFLAGS) -c $*.f90
$(FC) $(FFLAGS) -c -eS $*.f90
$(FC) $(FFLAGS) $(LDFLAGS) -o $*.x $*.f90
$(FC) $(CPPDEFS) $(CPPFLAGS) $(FFLAGS) -c -Ca $*.F
$(FC) $(CPPDEFS) $(CPPFLAGS) $(FFLAGS) -c -eS $*.F
$(FC) $(CPPDEFS) $(CPPFLAGS) $(FFLAGS) $(LDFLAGS) -o $*.x $*.F
$(FC) $(CPPDEFS) $(CPPFLAGS) $(FFLAGS) -c -Ca $*.F90
$(FC) $(CPPDEFS) $(CPPFLAGS) -eP $*.F90
$(FC) $(CPPDEFS) $(CPPFLAGS) $(FFLAGS) $(LIST) -c $*.F90
$(FC) $(CPPDEFS) $(CPPFLAGS) $(FFLAGS) -c $*.F90
$(FC) $(CPPDEFS) $(CPPFLAGS) $(FFLAGS) -c -eS $*.F90
$(FC) $(CPPDEFS) $(CPPFLAGS) $(FFLAGS) $(LDFLAGS) -o $*.x $*.F90
procstat -R $*.proc $*.x
hpm -r -o $*.hpm $*.x