# Names and option to fortran compiler # Linux Intel compiler #FC = ifort #FFLAGS = -g -check bounds -fpe0 -ftrapuv -debug semantic_stepping -debug variable_locations -cpp #FFLAGS = -O3 -ipo -no-prec-div # Linux PGI compiler FC = pgf90 FFLAGS = -Mfree -g -C -Ktrap=fp #FFLAGS = -Mfree -O4 # GNU compiler #FC = gfortran -ffree-form #FFLAGS = -g -ffpe-trap=invalid,zero,overflow -Warray-temporaries -fcheck=bounds,do,array-temps #FFLAGS = -g # precedence rules %:%.f90 $(FC) -o $@ $(FFLAGS) $< %.o:%.f90 $(FC) -c $(FFLAGS) $< clean: rm *.o *.mod # DO NOT DELETE THIS LINE - used by make depend