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

LATOPTS  = style=html
#LATOPTS = option=web 'style=jfc,makeidx,html,amsmath'
#LATOPTS=class=geophysics
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=ifort

#COLOR=y

RESULTSER = 

RESULTSCR = 

BIN=./bin
PAR=./par
RESDIR=./fig
FIG=./fig
DATA=./data
OBJ=./obj
SRCDIR=./src

##########################
#
# Programs
#
rot:Rotcig.x
	rm -f ${BIN}/Rotcig.x;rm -f Rotcig.x;make Rotcig.x
	mv -f Rotcig.x ${BIN}/Rotcig.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
