1## -*- Mode: Makefile; -*- 2## vim: set ft=automake : 3## 4## (C) 2011 by Argonne National Laboratory. 5## See COPYRIGHT in top-level directory. 6## 7 8## This is an automake makefile fragment that should be included by: 9## 10## include $(top_srcdir)/Makefile_cxx.mtest 11## 12## see Makefile.mtest for a description why this file exists, but for C++ 13 14AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include 15LDADD = $(top_builddir)/cxx/util/mtest.o 16 17## FIXME "DEPADD" is a simplemake concept, which we can handle on a per-target 18## prog_DEPENDENCIES variable, but it would be better to figure out the right 19## way to do this 20##DEPADD = @MPILIBLOC@ ../util/cxx/mtest.o 21 22$(top_builddir)/cxx/util/mtest.o: $(top_srcdir)/cxx/util/mtest.cxx 23 (cd $(top_builddir)/cxx/util && $(MAKE) mtest.o) 24 25testing: 26 $(top_builddir)/runtests -srcdir=$(srcdir) -tests=testlist \ 27 -mpiexec=${MPIEXEC} -xmlfile=summary.xml 28 29CLEANFILES = summary.xml 30