#------------------------------------------------------------------------- # Makefile for the lsdiag.f program that is part of the SHIPS/LGEM/RII processing # # 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 # 11/06/2016 M. DeMaria - WCOSS Transition to Cray # 08/21/2021 S. Stevenson - WCOSS2 Cray transition # 01/10/2024 R. Zelinsky - Added DEBUG target #------------------------------------------------------------------------- SRCM = lsdiag.f OBJM = LIBS = -L../../lib -lshipsutils -lgeneralutils INCS = FC = ftn ifeq ($(FC), ftn) FFLAGS = -O1 -g -align all -w DEBUG = -ftrapuv -check_all -traceback -g else FFLAGS = DEBUG = endif CMD = lsdiag.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