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

# errhan/Makefile.  Generated from Makefile.in by configure.

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

SHELL           = /bin/sh
bindir          = ${exec_prefix}/bin
exec_prefix     = ${prefix}
prefix          = /proj/tpfimos/larour/Libraries/linux/mpich2-gnu/
srcdir          = .
abs_srcdir      = /proj/tpfimos/larour/Libraries/linux/mpich2-1.0.2p1/test/mpi/errhan
top_srcdir      = ..
DEFS            = -DHAVE_CONFIG_H -I. -I${srcdir}
CPPFLAGS        = 
LIBS            = 
MPILIBNAME      = mpich
PMPILIBNAME     = @PMPILIBNAME@

CC              = /proj/tpfimos/larour/Libraries/linux/mpich2-gnu//bin/mpicc
CFLAGS          = 
C_COMPILE       = $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
C_LINK      = $(CC)
LDFLAGS     =   ../util/mtest.o 

VPATH = .
INCLUDES = -I../include -I${top_srcdir}/include

.SUFFIXES:
.SUFFIXES: .o .c 
.c.o:
	$(C_COMPILE) -c $<
.c:
	$(C_COMPILE) -o $* $< $(LDFLAGS) $(LIBS)
clean:
	-@rm -f *.o ${srcdir}/*.o adderr winerr commcall errcode errstring errring winerr2 errfatal
	-@rm -f adderr.exe winerr.exe commcall.exe errcode.exe errstring.exe errring.exe winerr2.exe errfatal.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
	-@rm -rf autom4te*.cache
	-@rm -rf $(DEPS_DIR)
	-@rm -f TAGS
remove-makefile:
	rm -f Makefile
remove-genmakefiles:
	rm -f  Makefile
all-redirect: adderr errstring commcall winerr winerr2 errfatal

adderr: adderr.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o adderr adderr.o  ${LIBS}
winerr: winerr.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o winerr winerr.o  ${LIBS}
commcall: commcall.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o commcall commcall.o  ${LIBS}
errcode: errcode.o errmsg.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o errcode errcode.o errmsg.o  ${LIBS}
errstring: errstring.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o errstring errstring.o  ${LIBS}
errring: errring.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o errring errring.o  ${LIBS}
winerr2: winerr2.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o winerr2 winerr2.o  ${LIBS}
errfatal: errfatal.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o errfatal errfatal.o  ${LIBS}
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
SOURCES         =  adderr.c errstring.c errcode.c errmsg.c errring.c \
	commcall.c winerr.c winerr2.c errfatal.c 
ETAGS           = etags --langmap=c:+.i
tags: TAGS
TAGS:${HEADERS} ${SOURCES}
	here=`cd ../../.. && pwd` ; cd ${srcdir} && $(ETAGS) -o $$here/TAGS --append ${HEADERS} ${SOURCES}
# --------------------------------------------------------------------------



../util/mtest.o: 
	(cd ../util && make mtest.o)

testing:
	../runtests -srcdir=$(srcdir) -tests=testlist \
			-mpiexec=$(bindir)/mpiexec \
		   	-xmlfile=summary.xml

FORCE_TARGET:

