# MAKEFILE for firstguess # # Function: builds the executable urma_firstguess # # Define the fortran compiler and options FFLAGS= -free -convert big_endian CMD = urma2p5_firstguess LIBS = -L/nwprod/lib -lw3nco_4 FC=/usrx/local/intel/composer_xe_2011_sp1.11.339/bin/intel64/ifort OBJS = kinds.o constants.o generalized_transf.o blendwind.o \ domain_dims.o process_allrjlists.o firstguess.o # clear out all suffixes .SUFFIXES: # # list only those we use .SUFFIXES: .o .f .f90 # .f.o : ${FC} ${FFLAGS} -c $< .f90.o : ${FC} ${FFLAGS} -c $< LINK-OBJS = ${OBJS} all: $(CMD) $(CMD): ${LINK-OBJS} ${FC} -o $(CMD) ${LINK-OBJS} ${LIBS} clean: /bin/rm -f *.o *.mod