.IGNORE: .SUFFIXES: .f90 #--------------------------------------------------------------------- # Note: Run the executable with /usr/local/PGI/bin/mpirun #--------------------------------------------------------------------- F90 = /usr/local/PGI/bin/mpif90 # Flags to pass to the F90 compiler F90FLAGS = -fast F90_COMPILE = $(F90) $(F90FLAGS) -c F90_LOAD = $(F90) $(F90FLAGS) # Define a default generic rule for translating .f90 -> .o .f90.o: $(F90_COMPILE) $*.f90 fpi: fpi.o $(F90_LOAD) fpi.o -o fpi clean: /bin/rm *.o /bin/rm fpi