summaryrefslogtreecommitdiffstats
path: root/bench
diff options
context:
space:
mode:
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)