#------------ # Include machine dependent compile & load options #------------ include ../../configure.pom LIBS = $(ESSLLIB) -L$(LIB_NEMSIO_PATH) -lnemsio -L$(LIB_BACIO_PATH) -lbacio_4 -L$(LIB_W3_PATH) -lw3nco_i4r4 -L$(LIB_W3_PATH) -lw3_i4r4 -L$(LIB_SP_PATH) -lsp_i4r4 -L$(LIB_SFCIO_PATH) -lsfcio_i4r4 $(MATHLIB) -L$(LIB_G2_PATH) -lg2 -L$(LIB_JASPER_PATH) -ljasper -L$(LIB_PNG_PATH) -lpng -L$(LIB_Z_PATH) -lz FFLAGS+=$(OMP_FFLAGS) LDFLAGS+=$(OMP_FFLAGS) INCMOD = -I$(LIB_NEMSIO_PATH)/mods/nemsio -I$(LIB_SFCIO_PATH)/mods/sfcio -I$(LIB_G2_PATH)/mods/g2 EXEC = ../../ocean_exec/gfdl_getsst.exe SRC90=getsst_grib.f90 SRCS= modules.f drive.f getsm.f gaussg.f ordleg.f avnglatlon.f getsst_nemsio.f OBJS= $(SRC90:.f90=.o) $(SRCS:.f=.o) # Lines from here on down should not need to be changed. # .f90.o: $(SRC90) $(SFC) $(FFLAGS) -c $< $(INCMOD) .f.o: $(SRCS) $(SFC) $(FFLAGS) -c $< $(INCMOD) $(EXEC): $(OBJS) $(SFC) $(FFLAGS) $(LDFLAGS) -o $(EXEC) $(OBJS) $(LIBS) clean: $(RM) $(OBJS) $(EXEC) *.mod