#------------------------------------------------------------------------- # Makefile for the Deterministic to Probabilistic (DTOPS) RI Model # # History: 05/23/2018 M. Onderlinde - wrote original # 08/21/2021 S. Stevenson - WCOSS2 Cray transition # 01/10/2024 R. Zelinsky - Added DEBUG target #------------------------------------------------------------------------- SRCM1 = dtops_realtime.f SRCM2 = fill_missing_EMX_realtime.f SRCM3 = interpolate_adeck.f OBJM = LIBS = INCS = FC = ftn ifeq ($(FC), ftn) FFLAGS = -g -align all -w DEBUG = -ftrapuv -check_all -traceback -g else FFLAGS = DEBUG = endif CMD1 = dtops_realtime.x CMD2 = fill_missing_EMX_realtime.x CMD3 = interpolate_adeck.x all: $(CMD1) $(CMD2) $(CMD3) $(CMD1): $(SRCM1) $(FC) $(FFLAGS) $(SRCM1) $(LIBS) $(INCS) -o $(CMD1) $(CMD2): $(SRCM2) $(FC) $(FFLAGS) $(SRCM2) $(LIBS) $(INCS) -o $(CMD2) $(CMD3): $(SRCM3) $(FC) $(FFLAGS) $(SRCM3) $(LIBS) $(INCS) -o $(CMD3) debug : FFLAGS += $(DEBUG) debug : all clean: rm -f $(CMD1) $(CMD2) $(CMD3) install: cp -f $(CMD1) $(CMD2) $(CMD3) ../../exec