#------------------------------------------------------------------------- # Makefile for the mkirprof program that makes radial profiles of IR data # # 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 # 05/13/2020 S. Stevenson - removed axCORE-AVX2 compiler flag # and added -O1 # 08/21/2021 S. Stevenson - WCOSS2 Cray transition # 01/10/2024 R. Zelinsky - Added DEBUG target #------------------------------------------------------------------------- SRCM = mkirprof.f OBJM = mkirpc_main.o mkirpc_utils.o LIBS = -L../../lib -lgeneralutils INCS = FC = ftn ifeq ($(FC), ftn) FFLAGS = -O1 -g -align all -w DEBUG = -ftrapuv -check_all -traceback -g else FFLAGS = endif CMD = mkirprof.x $(CMD): $(SRCM) $(OBJM) $(FC) $(FFLAGS) $(SRCM) $(OBJM) $(LIBS) $(INCS) -o $(CMD) mkirpc_main.o: mkirpc_main.f90 $(FC) $(FFLAGS) $(LIBS) $(INCS) -c mkirpc_main.f90 mkirpc_utils.o: mkirpc_utils.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c mkirpc_utils.f debug : FFLAGS += $(DEBUG) debug : $(CMD) clean: rm -f $(CMD) $(OBJM) install: cp -f $(CMD) ../../exec