## -*- Mode: Makefile; -*-
## vim: set ft=automake :
##
## (C) 2011 by Argonne National Laboratory.
## See COPYRIGHT in top-level directory.
##
## This is an automake makefile fragment that should be included by:
##
## include $(top_srcdir)/threads/Makefile.mtest
## start with the basic rules for mtest-based C programs
include $(top_srcdir)/Makefile.mtest
## then add rules/vars for mtestthread.o
LDADD += $(top_builddir)/threads/util/mtestthread.$(OBJEXT) @threadlib@
$(top_builddir)/threads/util/mtestthread.$(OBJEXT): $(top_srcdir)/threads/util/mtestthread.c
(cd $(top_builddir)/threads/util && $(MAKE) mtestthread.$(OBJEXT))