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

# topo/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/topo
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${srcdir}/../include

.SUFFIXES:
.SUFFIXES: .o .c 
.c.o:
	$(C_COMPILE) -c $<
.c:
	$(C_COMPILE) -o $* $< $(LDFLAGS) $(LIBS)
clean:
	-@rm -f *.o ${srcdir}/*.o graphcr topodup cartsuball cartmap1 graphmap1 dims2 cartshift1 topotest dims1
	-@rm -f graphcr.exe topodup.exe cartsuball.exe cartmap1.exe graphmap1.exe dims2.exe cartshift1.exe topotest.exe dims1.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: cartmap1 cartshift1 cartsuball dims1 dims2 graphmap1 topotest\
	 topodup graphcr

graphcr: graphcr.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o graphcr graphcr.o  ${LIBS}
topodup: topodup.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o topodup topodup.o  ${LIBS}
cartsuball: cartsuball.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o cartsuball cartsuball.o  ${LIBS}
cartmap1: cartmap1.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o cartmap1 cartmap1.o  ${LIBS}
graphmap1: graphmap1.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o graphmap1 graphmap1.o  ${LIBS}
dims2: dims2.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o dims2 dims2.o  ${LIBS}
cartshift1: cartshift1.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o cartshift1 cartshift1.o  ${LIBS}
topotest: topotest.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o topotest topotest.o  ${LIBS}
dims1: dims1.o    ../util/mtest.o
	$(C_LINK) $(LDFLAGS) -o dims1 dims1.o  ${LIBS}
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
SOURCES         =  cartmap1.c cartshift1.c cartsuball.c dims1.c dims2.c \
	graphmap1.c topotest.c topodup.c graphcr.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:

