From ac2890f762db13b35b1f8bd37b0c07855a21c9d8 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 23 Feb 2010 23:35:36 -0500 Subject: Use pkg-config for libsandglass. --- bench/libdimension/Makefile.am | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'bench/libdimension') 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) -- cgit v1.2.3