summaryrefslogtreecommitdiffstats
path: root/bench
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-02-23 23:35:36 -0500
committerTavian Barnes <tavianator@gmail.com>2010-02-23 23:35:36 -0500
commitac2890f762db13b35b1f8bd37b0c07855a21c9d8 (patch)
tree4c8efe20f014d341ea36cdcdb2b5a2f1bf7561ea /bench
parent64294f4ac5b1b41e95f20a827c2aead301becb92 (diff)
downloaddimension-ac2890f762db13b35b1f8bd37b0c07855a21c9d8.tar.xz
Use pkg-config for libsandglass.
Diffstat (limited to 'bench')
-rw-r--r--bench/libdimension/Makefile.am10
1 files changed, 4 insertions, 6 deletions
diff --git a/bench/libdimension/Makefile.am b/bench/libdimension/Makefile.am
index 0ca7a19..4937e5d 100644
--- a/bench/libdimension/Makefile.am
+++ b/bench/libdimension/Makefile.am
@@ -21,14 +21,12 @@ INCLUDES = -I$(top_srcdir)/libdimension
EXTRA_PROGRAMS = bench-array bench-geometry bench-bvst
-bench_array_SOURCES = array.c
-bench_array_LDADD = -lsandglass $(top_builddir)/libdimension/libdimension.la
+AM_CFLAGS = $(SANDGLASS_CFLAGS)
+AM_LDFLAGS = $(SANDGLASS_LIBS) $(top_builddir)/libdimension/libdimension.la
+bench_array_SOURCES = array.c
bench_geometry_SOURCES = geometry.c
-bench_geometry_LDADD = -lsandglass $(top_builddir)/libdimension/libdimension.la
-
-bench_bvst_SOURCES = bvst.c
-bench_bvst_LDADD = -lsandglass $(top_builddir)/libdimension/libdimension.la
+bench_bvst_SOURCES = bvst.c
bench: bench-array$(EXEEXT) bench-geometry$(EXEEXT) bench-bvst$(EXEEXT)
./bench-array$(EXEEXT)