#------------------------------------------------------------------------- # Makefile for the irdumpc 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 # 11/09/2016 M. DeMaria - WCOSS Transition to Cray # 08/21/2021 S. Stevenson - WCOSS2 Cray transition # 01/10/2024 R. Zelinsky - Added DEBUG target #------------------------------------------------------------------------- SRCM = irdumpc_rect.f90 OBJM = onebyte_1band_rect_read.o LIBS = INCS = FC = ftn ifeq ($(FC), ftn) FFLAGS = -g -align all -w DEBUG = -ftrapuv -check_all -traceback -g else FFLAGS = DEBUG = endif CMD = irdumpc_rect.x $(CMD): $(SRCM) $(OBJM) $(FC) $(FFLAGS) $(SRCM) $(OBJM) $(LIBS) $(INCS) -o $(CMD) onebyte_1band_rect_read.o: onebyte_1band_rect_read.f90 $(FC) $(FFLAGS) $(LIBS) $(INCS) -c onebyte_1band_rect_read.f90 debug : FFLAGS += $(DEBUG) debug : $(CMD) clean: rm -f $(CMD) $(OBJM) install: cp -f $(CMD) ../../exec