#------------------------------------------------------------------------- # Makefile for the Altantic and east Pacific 5-day CLIPER guidance program # # History: 05/01/25 Gross, J. created from HP Makefile # 06/07/2005 C. Sisko added link to libguidanceio.a # 10/24/2012 A. Krautkramer - WCOSS Transition # 10/07/2016 C. Mattocks - WCOSS Transition to Cray # 04/14/2017 M. DeMaria - Replace ircal3 with ircal4 # Add r5utils module # 08/21/2021 S. Stevenson - WCOSS2 Cray transition # 01/10/2024 R. Zelinsky - Added DEBUG target #------------------------------------------------------------------------- SRCM = irpred.f OBJM = ircal4.o r5utils.o LIBS = -L../../lib -lgeneralutils INCS = FC = ftn ifeq ($(FC), ftn) FFLAGS = -g -align all -w DEBUG = -ftrapuv -check_all -traceback -g else FFLAGS = DEBUG = endif CMD = irpred.x $(CMD): $(SRCM) $(OBJM) $(FC) $(FFLAGS) $(SRCM) $(OBJM) $(LIBS) $(INCS) -o $(CMD) ircal4.o: ircal4.f r5utils.o $(FC) $(FFLAGS) $(LIBS) $(INCS) r5utils.o -c ircal4.f r5utils.o: r5utils.f90 $(FC) $(FFLAGS) $(LIBS) $(INCS) -c r5utils.f90 debug : FFLAGS += $(DEBUG) debug : $(CMD) clean: rm -f $(CMD) $(OBJM) $(OBJMS) install: cp -f $(CMD) ../../exec