#
# Copyright 2004-2008 Shin'ya Murakami <murashin@epa.scitec.kobe-u.ac.jp>
# $Id$
# 
# 
# 


CONFPATH= ..
include ${CONFPATH}/config.mk
CURDIR= lib

OBJS= vortexcensus.o pointlist.o \
	d2df.o patchedarea.o pointindexlist.o arearange.o integertuplelist.o \
	boundarypointindexlist.o boundaryinfo.o divide2dfield.o \
	dblelist.o integerlist.o misc.o

LIBDIR=		${CONFPATH}/lib

_all: ${LIBSTATIC}

${LIBSTATIC}: ${OBJS} ${LIBNAME}.o
	${AR} ${ARFLAGS} ${LIBSTATIC} ${OBJS}
#	${MV} ${LIBSTATIC} ${BINDIR}

# basic modules
${LIBNAME}.o: ${LIBNAME}.f90 ${OBJS}

vortexcensus.o: vortexcensus.f90 pointlist.o d2df.o dblelist.o integerlist.o misc.o
# d2df´Ø·¸
arearange.o: arearange.f90 boundaryinfo.o
boundarypointindexlist.o: boundarypointindexlist.f90 pointindexlist.o integertuplelist.o arearange.o boundaryinfo.o
patchedarea.o: patchedarea.f90 boundarypointindexlist.o pointindexlist.o integertuplelist.o arearange.o boundaryinfo.o
divide2dfield.o: divide2dfield.f90 patchedarea.o boundarypointindexlist.o pointindexlist.o integertuplelist.o arearange.o boundaryinfo.o
d2df.o: d2df.f90 divide2dfield.o patchedarea.o boundarypointindexlist.o pointindexlist.o integertuplelist.o arearange.o boundaryinfo.o integerlist.o
