# MAKEFILE for pcpurma_blend_map_mpi # # Function: builds the executable for pcpurma_blend_map_mpi # # Define the fortran compiler and options #FFLAGS0= -O3 -fp-model strict -convert big_endian -traceback FFLAGS0= -O3 -fp-model strict -convert big_endian -traceback FFLAGS1= -free LIBS= DEBUG_OPT ?= 1 ifeq ($(DEBUG_OPT), 1) FFLAGS0 += -g endif CMD = pcpurma_blend_map_mpi CMAIN = blending_map_mpi.f90 FC = ${COMP_MP} OBJS = blending_map_mpi.o # clear out all suffixes .SUFFIXES: # # list only those we use .SUFFIXES: .o .f .f90 # .f90.o : ${FC} ${FFLAGS0} ${FFLAGS1} -c $< LINK-OBJS = ${OBJS} all: $(CMD) $(CMD): ${LINK-OBJS} ${FC} -o $(CMD) ${LINK-OBJS} ${LIBS} mvexec: mv $(CMD) ../../exec/. clean: /bin/rm -f *.o *.mod $(CMD)