#------------------------------------------------------------------------- # Makefile for the bin2packe program for creating the PACK files from ECMWF # grib2 files. This version is for the regional PACK files # for AL/EP/CP SHIPS forecasts # # History: 05/01/2005 Gross, J. created from HP Makefile # 06/07/2005 C. Sisko added link to libguidanceio.a # 10/24/2012 A. Krautkramer - WCOSS Transition # 11/16/2016 M. DeMaria - WCOSS Transition to Cray # 01/10/2024 R. Zelinsky - Added DEBUG target # #------------------------------------------------------------------------- SRCM = bin2packe.f OBJM = 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 = bin2packe.x $(CMD): $(SRCM) $(OBJM) $(FC) $(FFLAGS) $(SRCM) $(OBJM) $(LIBS) $(INCS) -o $(CMD) debug : FFLAGS += $(DEBUG) debug : $(CMD) clean: rm -f $(CMD) $(OBJM) install: cp -f $(CMD) ../../exec