FC=mpif90 FLAGS= -O2 -fp-model precise -march=core-avx2 -r8 NETCDF_INC_DIR = $(addsuffix /,${EBROOTNETCDFMINFORTRAN})include NETCDF_LIB_DIR = $(addsuffix /,${EBROOTNETCDFMINFORTRAN})lib NETCDF_LIBS = $(addprefix -l,netcdff netcdf) all: mkdir -p bin $(FC) src/mpp_domain_decomposition.f90 -o bin/mpp_domain_decomposition.exe $(FLAGS) -I$(NETCDF_INC_DIR) -L$(NETCDF_LIB_DIR) $(NETCDF_LIBS) clean: rm -f bin/mpp_domain_decomposition.exe