# This Makefile.in created by simplemake.  Do not edit

# @configure_input@

# --------------------------------------------------------------------------
all: all-redirect

SHELL           = @SHELL@
bindir          = @bindir@
exec_prefix     = @exec_prefix@
prefix          = @prefix@
abs_builddir    = @abs_builddir@
srcdir          = @srcdir@
abs_srcdir      = @abs_srcdir@
DEFS            = @DEFS@ -I. -I${srcdir}
INCLUDES        = 
CPPFLAGS        = @CPPFLAGS@
LIBS            = @LIBS@
MAKE            = @MAKE@
CC              = @CC@
CFLAGS          = @CFLAGS@
C_COMPILE       = $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
CC_SHL          = @CC_SHL@
C_COMPILE_SHL   = $(CC_SHL) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
CXX             = @CXX@
CXXFLAGS        = @CXXFLAGS@
CXX_COMPILE     = $(CXX) $(DEFS) $(INCLUDES) $(CXXFLAGS) $(CPPFLAGS)
CXX_LINK       = $(CXX)
CXX_SHL         = @CXX_SHL@
CXX_COMPILE_SHL = $(CXX_SHL) $(DEFS) $(INCLUDES) $(CXXFLAGS) $(CPPFLAGS)
FC              = @FC@
FFLAGS          = @FFLAGS@
F77_COMPILE     = $(FC) $(FFLAGS) $(F77INCLUDES)
F77_LINK       = $(FC)
FC_SHL          = @FC_SHL@
F77_COMPILE_SHL = $(FC_SHL) $(FFLAGS)
LDFLAGS     =  @LDFLAGS@ 

VPATH = .:@srcdir@
C_LINK = $(bindir)/mpicc
MPICC = $(bindir)/mpicc
MPICXX = $(bindir)/mpicxx
MPIF77 = $(bindir)/mpif77

.SUFFIXES:
.SUFFIXES: .o .lo .c .cxx .f 
apply: 
	$(ACTION) $(ACTION_INPUT)
clean:  clean-local
	-@rm -f *.o ${srcdir}/*.o rtest stdintest checkenv1 stdintest2 rtestx stdiotest testout rtestf
	-@rm -f rtest.exe stdintest.exe checkenv1.exe stdintest2.exe rtestx.exe stdiotest.exe testout.exe rtestf.exe
	-@rm -f core core.[0-9]*
	-@rm -f *.lo ${srcdir}/*.lo
	-@rm -f *.irlog*
distclean:  clean distclean-xxx remove-makefile
distclean-xxx:
	-@rm -f Makefile cmdtests
	-@rm -rf autom4te*.cache
	-@rm -rf $(DEPS_DIR)
	-@rm -f TAGS
remove-makefile:
	rm -f Makefile
remove-genmakefiles:
	rm -f  Makefile
all-redirect: stdiotest stdintest stdintest2 checkenv1 rtest rtestf rtestx\
	 testout

rtest: rtest.o   
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o rtest rtest.o  ${LIBS}
stdintest: stdintest.o   
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o stdintest stdintest.o  ${LIBS}
checkenv1: checkenv1.o   
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o checkenv1 checkenv1.o  ${LIBS}
stdintest2: stdintest2.o   
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o stdintest2 stdintest2.o  ${LIBS}
rtestx: rtestx.o   
	$(CXX_LINK) $(CXXFLAGS) $(LDFLAGS) -o rtestx rtestx.o  ${LIBS}
stdiotest: stdiotest.o   
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o stdiotest stdiotest.o  ${LIBS}
testout: testout.o   
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o testout testout.o  ${LIBS}
rtestf: rtestf.o   
	$(F77_LINK) $(FFLAGS) $(LDFLAGS) -o rtestf rtestf.o  ${LIBS}
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
SOURCES         =  stdiotest.c stdintest.c stdintest2.c checkenv1.c rtest.c \
	rtestf.f rtestx.cxx testout.c 
ETAGS           = @ETAGS@ @ETAGSADD@
HEADERFILES     = $(HEADERS)
SOURCEFILES     = $(SOURCES)
tags: TAGS
TAGS: Makefile${HEADERFILES} ${SOURCEFILES}
	here=`cd ../.. && pwd` ; cd ${srcdir} && $(ETAGS) -o $$here/TAGS --append ${HEADERFILES} ${SOURCEFILES}
# --------------------------------------------------------------------------


.c:
	$(MPICC) -o $* $<
.c.o:
	$(MPICC) -c $<
.f.o:
	$(MPIF77) -c $<
.F.o:
	$(MPIF77) -c $<
.cxx.o:
	$(MPICXX) -c $<

testing:
	./cmdtests

clean-local:
	-rm -f err.txt out.log out.txt stdintest stdintest2 sdtiotest a.out

FORCE_TARGET:

