# ================================================== # Makefile for swest.x which is part of the LBAR track model. # Written by F. Horsfall and M. DeMaria, May 2001 # # Modified April 2002 to remove reference to parallel AVN directory # added link to libguidanceio.a # # Revised by C. Sisko for port to MIST/DEW, Nov 2006 # A. Krautkramer for port to WCOSS, Oct 2012 # # This version is for WCOSS. # # make - compilies the model # make clean - remove the executables and objects # make install - moves the exectuables/scripts runtime # directories # ================================================== CP = cp RM = rm -f EXECDIR = ../../../exec SCRIPTS = ../../scripts FC = ifort #FFLAGS = -qsmp=noauto -qintsize=4 -qrealsize=8 -qsuppress=1514-008 FFLAGS = #LIBS = -L/nwprod/lib -lw3_d -lbacio_4 -lessl -L../../lib -lguidanceio LIBS = INCS = -I../../include EXE = swest.x $(EXE): total.f ncarfft.o packsubs.o $(FC) $(FFLAGS) total.f ncarfft.o packsubs.o -o $(EXE) ncarfft.o: ncarfft.f $(FC) $(FFLAGS) -c ncarfft.f packsubs.o: packsubs.f $(FC) $(FFLAGS) -c packsubs.f install: $(CP) $(EXE) $(EXECDIR) clean: $(RM) $(EXE) *.o