#------------------------------------------------------------------------- # Makefile for the SHIPS/LGEM/RII intensity guidance programs # # 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/10/2016 M. DeMaria - WCOSS Transition to Cray # 04/14/2017 M. DeMaria - Replace 2015 RII routines with # 2017 RII routines. Replace # rapidprint.f with rapidprint_2017.f # 04/13/2020 S. Stevenson - Replace 2019 RII routines with 2020 # 04/05/2021 S. Stevenson - Replace 2020 RII routines with 2021 # 08/21/2021 S. Stevenson - WCOSS2 Cray transition # 02/06/2023 M. DeMaria - Use generic rapidga.f and rapidge.f for # J. Kaplan RII routines # 01/10/2024 R. Zelinsky - Added DEBUG target # #------------------------------------------------------------------------- SRCM = iships.f OBJM = decay.o dftop1.o etclass.o erc_clim_driver.o lgeim.o rapid_aid.o rapidbaya_2018.o rapidbaye_2018.o \ rapidga.o rapidge.o rapidloga_2018.o rapidloge_2018.o rapidprint_2018.o ric2o.o psef_driver.o \ ohc_module.o sst_module.o ahi.o LIBS = -L../../lib -lguidanceio -llandutils -lshipsutils -lgeneralutils INCS = -I../../include FC = ftn ifeq ($(FC), ftn) FFLAGS = -g -align all -w DEBUG = -ftrapuv -check_all -traceback -g else FFLAGS = DEBUG = endif CMD = iships.x $(CMD): $(SRCM) $(OBJM) $(FC) $(FFLAGS) $(SRCM) $(OBJM) $(LIBS) $(INCS) -o $(CMD) decayo.o: decay.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c decay.f dftop1.o: dftop1.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c dftop1.f erc_clim_driver.o: erc_clim_driver.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c erc_clim_driver.f etclass.o: etclass.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c etclass.f lgeim.o: lgeim.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c lgeim.f rapid_aid.o: rapid_aid.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c rapid_aid.f rapidbaya_2018.o: rapidbaya_2018.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c rapidbaya_2018.f rapidbaye_2018.o: rapidbaye_2018.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c rapidbaye_2018.f rapidga.o: rapidga.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c rapidga.f rapidge.o: rapidge.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c rapidge.f rapidloga_2018.o: rapidloga_2018.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c rapidloga_2018.f rapidloge_2018.o: rapidloge_2018.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c rapidloge_2018.f rapidprint_2018.o: rapidprint_2018.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c rapidprint_2018.f ric2o.o: ric2o.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c ric2o.f psef_driver.o: psef_driver.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c psef_driver.f ohc_module.o: ohc_module.f90 $(FC) $(FFLAGS) $(LIBS) $(INCS) -c ohc_module.f90 sst_module.o: sst_module.f90 $(FC) $(FFLAGS) $(LIBS) $(INCS) -c sst_module.f90 ahi.o: ahi.f $(FC) $(FFLAGS) $(LIBS) $(INCS) -c ahi.f debug : FFLAGS += $(DEBUG) debug : $(CMD) clean: rm -f $(CMD) $(OBJM) install: cp -f $(CMD) ../../exec