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

MPIDIR=/opt/MPI/mpich-1.2.7p1
UF90DEFINES=-DLINUX -DUSE_FFTW -DFFTW=1 -DSEP_OMP -DOMP # -DDBUG 
UF90INCLUDES=-I. -I${MPIDIR}/include/
#UF90FLAGS=-O3 -openmp -openmp_report2 -fast
UF90FLAGS=-O3 -openmp -openmp_report2 -inline_debug_info -check bounds -check pointer -traceback -g
FFTWLIBS=-L/opt/FFTW/lib -lfftw3f
MAINLIBS=-lsupersetf90 -lsuperset -lsepparf90 -lseppar -lsep2df90 -lsep3df90 -lsep3d -lsepf90 -lsep -lsepgeef90
MPILIBS=-L/opt/MPI/lib -lmpichf90 -lmpich
VEC=-L/opt/intel/Compiler/11.1/059/mkl/lib/em64t -lmkl -lvml
UF90LIBS=-lsep2df90 -lsepparf90 -lseppar -lsupersetf90 -lsuperset ${FFTWLIBS} ${MAINLIBS} ${MPILIBS} -openmp -lpthread



BIN=../../../bin
PAR=./par
RESDIR=./fig
R = ${RESDIR}
FIG=./fig
DATA=./data
OBJ=./obj
SRCDIR=./

##########################
#
# Progs
#
owslnt25d:OW_3dslant_2d.x
	rm -f ${BIN}/OW_3dslant_2d.x;rm -f OW_3dslant_2d.x;make OW_3dslant_2d.x
	mv -f OW_3dslant_2d.x ${BIN}/OW_3dslant_2d.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
