# 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}
CPPFLAGS        = @CPPFLAGS@
LIBS            = @LIBS@
MAKE            = @MAKE@
CC              = @CC@
CFLAGS          = @CFLAGS@
C_COMPILE       = $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
C_LINK         = $(CC)
LDFLAGS     =  @LDFLAGS@ ../util/mtest.o 

VPATH = .:@srcdir@
INCLUDES = -I../include -I${srcdir}/../include

.SUFFIXES:
.SUFFIXES: .o .c 
.c.o:
	$(C_COMPILE) -c $<
.c:
	$(C_COMPILE) -o $* $< $(LDFLAGS) $(LIBS)
apply: 
	$(ACTION) $(ACTION_INPUT)
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   @MPILIBLOC@ ../util/mtest.o
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o graphcr graphcr.o  ${LIBS}
topodup: topodup.o   @MPILIBLOC@ ../util/mtest.o
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o topodup topodup.o  ${LIBS}
cartsuball: cartsuball.o   @MPILIBLOC@ ../util/mtest.o
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o cartsuball cartsuball.o  ${LIBS}
cartmap1: cartmap1.o   @MPILIBLOC@ ../util/mtest.o
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o cartmap1 cartmap1.o  ${LIBS}
graphmap1: graphmap1.o   @MPILIBLOC@ ../util/mtest.o
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o graphmap1 graphmap1.o  ${LIBS}
dims2: dims2.o   @MPILIBLOC@ ../util/mtest.o
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o dims2 dims2.o  ${LIBS}
cartshift1: cartshift1.o   @MPILIBLOC@ ../util/mtest.o
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o cartshift1 cartshift1.o  ${LIBS}
topotest: topotest.o   @MPILIBLOC@ ../util/mtest.o
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o topotest topotest.o  ${LIBS}
dims1: dims1.o   @MPILIBLOC@ ../util/mtest.o
	$(C_LINK) $(CFLAGS) $(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@ @ETAGSADD@
HEADERFILES     = $(HEADERS)
SOURCEFILES     = $(SOURCES)
tags: TAGS
TAGS: Makefile${HEADERFILES} ${SOURCEFILES}
	here=`cd ../../.. && pwd` ; cd ${srcdir} && $(ETAGS) -o $$here/TAGS --append ${HEADERFILES} ${SOURCEFILES}
# --------------------------------------------------------------------------


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

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

FORCE_TARGET:

