# Fortran makefile for Abisko # # Assumes you have run: # # $ module add openmpi/gcc # # NOTE: Choose among mpif77, mpif90 FC = mpif77 FFLAGS = LIBS = # Define the application object files and target name # APPOBJ = list of required object files # APP = name of target executable APPOBJ = pingpong.o APP = pingpong $(APP): $(APPOBJ) $(FC) $(FFLAGS) -o $(APP) $(APPOBJ) $(LIBS) .PHONY: clean clean: /bin/rm -f $(APP) $(APPOBJ)