# examples/f90/Makefile.  Generated from Makefile.in by configure.
all: all-redirect

SHELL           = /bin/sh
top_srcdir      = ../..
srcdir          = .
LIBS            =        -lpthread  -lrt   
MPILIBNAME      = mpich

MPICHDIR = ../..
F90         = $(MPICHDIR)/bin/mpif90
F90FLAGS    = 
F90_COMPILE = $(F90) $(F90FLAGS)
LDFLAGS     = 
VPATH = .
.SUFFIXES:
.SUFFIXES: .o .f90 .txt 
.f90.o:
	$(F90_COMPILE) -c $<
.f90:
	$(F90_COMPILE) -o $* $< $(LDFLAGS) $(LIBS)

Makefile: ${srcdir}/Makefile.in
	-cd ../../../ && \
	if [ -x config.status ] ; then CONFIG_FILES=examples/f90/Makefile CONFIG_HEADERS= ${SHELL} ./config.status ; fi
clean:
	-rm -f *.o ${srcdir}/*.o pi3f90
	-rm -f pi3f90.exe
	-rm -f *.lo ${srcdir}/*.lo
	-rm -f ${srcdir}/*.bb ${srcdir}/*.bbg ${srcdir}/*.da
distclean: clean
	rm -rf .deps
	-rm -f TAGS
maintainerclean:

all-redirect: pi3f90
pi3f90: pi3f90.o  ../../lib/lib${MPILIBNAME}.a
	$(F90_COMPILE) -o pi3f90 pi3f90.o  ${LIBS}
htmldoc:
mandoc:
latexdoc:
# Dependencies
dependencies:
# End of Dependencies
SOURCES =  pi3f90.f90
tags: TAGS
TAGS:${HEADERS} ${SOURCES}

