summaryrefslogtreecommitdiffstats
path: root/libdimension/Makefile.am
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-05-15 15:54:56 -0600
committerTavian Barnes <tavianator@gmail.com>2011-05-15 15:58:05 -0600
commita5a6b94c038e01ebf1e2de0a0774a69b02fb8e1e (patch)
tree66a4b977fff9f0119456b6c5a3398d25976f6c53 /libdimension/Makefile.am
parent130cbc32499ade9235873bc5d575816f80636916 (diff)
downloaddimension-a5a6b94c038e01ebf1e2de0a0774a69b02fb8e1e.tar.xz
Group tests and benchmarks with the corresponding source code.
Diffstat (limited to 'libdimension/Makefile.am')
-rw-r--r--libdimension/Makefile.am12
1 files changed, 10 insertions, 2 deletions
diff --git a/libdimension/Makefile.am b/libdimension/Makefile.am
index 4d4f58e..0a134b1 100644
--- a/libdimension/Makefile.am
+++ b/libdimension/Makefile.am
@@ -17,6 +17,9 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ##
###########################################################################
+SUBDIRS = bench \
+ tests
+
# Make dmnsn_error() backtraces useful
AM_LDFLAGS = -rdynamic
@@ -130,6 +133,12 @@ if PROFILE
libdimension_la_SOURCES += profile.c
endif
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libdimension.pc
+
+bench: all-recursive
+ cd bench && $(MAKE) $(AM_MAKEFLAGS) bench
+
clean-local: clean-docs
doc:
@@ -137,5 +146,4 @@ doc:
clean-docs:
rm -rf $(top_builddir)/doc/libdimension
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libdimension.pc
+.PHONY: bench doc