# makefile for nssl_porcess #!/bin/sh -v # Define the fortran compiler and options FC = ftn CPP = /lib/cpp -P ARCH = CPPFLAGS = -DLINUX -Dfunder -DFortranByte=char -DFortranInt=int -DFortranLlong='long long' -D_UNDERSCORE FLAGS = -qopenmp NWPLIBS = ${G2_LIB4} ${JASPER_LIB} ${PNG_LIB} ${Z_LIB} ${W3NCO_LIB4} ${BACIO_LIB4} W3FLAGS = -I/${W3NCO_INC4} INCLD= -I${NETCDF}/include -I${WRF_IO_INC} -I ${G2_INC4} LIBS = ${WRF_IO_LIB} ${NWPLIBS} -L${NETCDF}/lib -lnetcdf -lnetcdff OBJS = kinds.o grib2_read_mod.o process_SST.o sst14k.o sstGlobal2RR.o netCDFsub_geo.o update_SST_netcdf_mass.o all: process_SST process_SST: ${OBJS} ${FC} -o ../../exec/rap_process_sst ${FLAGS} ${OBJS} ${LIBS} .SUFFIXES : .F90 .f90 .o .F90.o : ${FC} ${FLAGS} ${INCLD} -c $< .f90.o : ${FC} ${FLAGS} ${INCLD} -c $< .c.o : ${CC} ${CPPFLAGS} -c $< clean: /bin/rm -f *.o *.exe *.mod rap_process_sst