# -*- make -*- # FILE: "/home/evmik/src/my_src/Nresonances/fortran/navy_four_levels/Makefile" # LAST MODIFICATION: "Mon, 08 Aug 2011 00:37:23 -0400 (evmik)" # (C) 2011 by Eugeniy Mikhailov, # $Id:$ f95files = $(wildcard *.f95) runfiles = $(f95files:%.f95=%.run) #FORTRAN_OPTIONS = -Wall #useful flags to check # -Wconversion : Warn about implicit conversions that are likely to change # the value of the expression after conversion # -Wintrinsic-shadow : Warn if a user-defined # procedure or module procedure has the same name as an intrinsic # -Wunused : Warn about unused dummy arguments. # -Werror : Turns all warnings into errors FORTRAN_OPTIONS = -Wintrinsic-shadow -Wunused -Wconversion executables: $(runfiles) $(runfiles): %.run : %.f95 gfortran $(FORTRAN_OPTIONS) -o $@ $< clean: rm -f $(runfiles) rm -f Movie4level_EndPoints*.dat rm -f Movie4level*.dat rm -f MovieParameters4level*.txt