# makefile for full_cycle_surface #! /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 HDF5 = /apps/prod/hdf5-parallel/1.10.6/intel/19.1.3.304/cray-mpich/8.1.4 INCLD = -I${NETCDF}/include LIBS = ${NETCDF}/lib/libnetcdff.a ${NETCDF}/lib/libnetcdf.a \ -L${HDF5}/lib -lhdf5_hl -lhdf5 -lz ${Z_LIB} OBJS = all: hrrr_copy_hrrrdas hrrr_copy_hrrrdas: ${OBJS} copy_hrrrdas_to_hrrr.o ${FC} -o ../../exec/hrrr_copy_hrrrdas ${FLAGS} copy_hrrrdas_to_hrrr.o ${OBJS} ${LIBS} .SUFFIXES : .F90 .f90 .f .c .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 hrrr_copy_hrrrdas