MAKE_DEPEND=yes
include ${SEPINC}/SEP.top

LATOPTS  = style=html
OLEVEL=2
UF90FLAGS =-openmp -openmp_report2 -check bounds -O3
MAINLIBS=-lsep2df90 -lsep3df90 -lsep3d -lsepf90 -lsep -L${LIBDIR}  -lsepgeef90
UF77LIBS = ${BEILIB}
UF90DEFINES = -DSEP_OMP

WHEREFFTW = /opt/FFTW/lib/lib
UF90LIBS=${MPILIBS} ${MAINLIBS} -lsepparf90 -lsepgeef90 -lsep2df90 -static-libcxa -lguide -lseppar  -lsuperset -lsupersetf90 -lsuperset -lsepauxf90 -lsepmathf90 -lsep3df90 -lsep3d -lsepf90 -lsep $(WHEREFFTW)fftw3f.a # -lseppar_mpi

F90=/opt/intel/fce/10.0.023/bin/ifort

SRCDIR=./

##########################
#
# Progs
#
depth: 
	rm -f Depth_tomo.x; make Depth_tomo.x; mv Depth_tomo.x ../../../../bin/. 

prtomo:
	rm -f Prec_tomo.x;make Prec_tomo.x;
##########################################

regclean_%:
	@-touch $*; Rm $*; touch $*; \rm $*

clean : texclean 
	@-touch j.o j.mod j.x *.fix.f90; \rm *.o *.mod *.x *.fix.f90

include ${SEPINC}/SEP.bottom
