include ../include/make.inc

INC     = ../include
LIB     =../../lib/lib.a ${BACIO_LIB} ${W3_LIB}

RM      = /bin/rm -f

.SUFFIXES : .f90 .o .a

OBJ     =dynam_comm.o init_vrb.o  quadInterpH.o quadInterpLnPr.o vinterp.o \
         etaPr.o hinterp.o bilinb.o gtll.o getdata.o read_sector_size.o \
	 bocoh.o bocoh_cb.o bocoh_oc.o sfcEta2.o ssthires.o snohires.o \
	 vfrac.o putem.o gribst.o gridst.o sno16get.o printims.o sno8get.o \
	 printaf.o printeta.o putveg.o albsfc.o sfch2o.o frh2o.o \
	 polinb.o pusi.o spline_pus.o gtll2.o coastalfix.o ssthires2.o \
	 read_rss_sst.o init_sigh.o SSTCH.o GETDATE.o
	  

VPATH   = ../include
EXE     = ../../exe/init_vrb.exe


COMPILE.f = $(FC) -c $(FFLAGS) -I${INC} 

${EXE}: ${OBJ} ${LIB}
	${FC} ${OBJ} ${LIB} $(FFLAGS) -o $@ 

.f90.o:
	$(COMPILE.f) $<

hinterp.o:param_o.h
init_vrb.o:param_o.h
init_vrb.o:dynam_comm.o
vinterp.o:param_o.h
vinterp.o:dynam_comm.o

clean: 
	${RM} ${OBJ} ${OBJOC} *.mod
