# Makefile for winselection # name of current fortran compiler FC = f77 # name of the compiler dependent directory # # Linux CDD = ../Dep_L # # Windows # CDD = ../Dep_W # # IBM # CDD = ../Dep_IBM # # compiler flag(s) FFLAGS = -O # erase file command RM = rm ############################################################## ############################################################## # include directories #INCL = -I../Inc HEADERS = ./codeco_common.f TARGET = ../winselection SRC = winselect_5.f\ ckesfi.f\ codecoutil.f\ compdecomp.f\ gcmlnw.f\ glun.f\ gsein.f\ init_hdrvars.f\ reader_cs.f\ reader_gse.f\ readerthw.f\ reader_saf.f\ rsaf.f\ split3.f\ $(CDD)/guw8.f\ $(CDD)/intand.f OBJ = $(SRC:.f=.o) .f.o: $(FC) $(FFLAGS) $(INCL) -c $< -o $@ $(TARGET): $(OBJ) $(FC) -o $(TARGET) $(OBJ) $(OBJ): $(HEADERS) clean: $(RM) $(OBJ)