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.

79 lines
2.1 KiB

# Makefile template for t3e
FC = f90
LD = f90
FFLAGS = -dp -O2,unroll2
LDFLAGS = -Wl"-Dpreset=nan;streams=on;permok=yes -Xm $(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)
# The macro TMPFILES is provided to slate files like the above for removal.
RM = rm -f
SHELL = /bin/csh
TMPFILES = .*.m *.T *.TT *.i *.lst *.s
.SUFFIXES: .F .F90 .H .T .f .F90 .h .i .lst .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