summaryrefslogtreecommitdiffstats
path: root/libdimension
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension')
-rw-r--r--libdimension/bench/Makefile.am4
-rw-r--r--libdimension/tests/Makefile.am3
2 files changed, 3 insertions, 4 deletions
diff --git a/libdimension/bench/Makefile.am b/libdimension/bench/Makefile.am
index 9ac3607..09530ff 100644
--- a/libdimension/bench/Makefile.am
+++ b/libdimension/bench/Makefile.am
@@ -17,14 +17,12 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ##
###########################################################################
-INCLUDES = -I$(top_srcdir)/libdimension
-
EXTRA_PROGRAMS = array.bench \
geometry.bench \
polynomial.bench \
prtree.bench
-AM_CFLAGS = $(libsandglass_CFLAGS) -fno-inline
+AM_CFLAGS = $(libsandglass_CFLAGS) -fno-inline -I$(top_srcdir)/libdimension
AM_LDFLAGS = $(libsandglass_LIBS) $(top_builddir)/libdimension/libdimension.la
array_bench_SOURCES = array.c
diff --git a/libdimension/tests/Makefile.am b/libdimension/tests/Makefile.am
index 04d7aeb..072a111 100644
--- a/libdimension/tests/Makefile.am
+++ b/libdimension/tests/Makefile.am
@@ -17,7 +17,8 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ##
###########################################################################
-INCLUDES = -I$(top_srcdir)/libdimension
+AM_CFLAGS = -I$(top_srcdir)/libdimension
+AM_CXXFLAGS = $(AM_CFLAGS)
check_LTLIBRARIES = libdimension-tests.la
check_PROGRAMS = warning.test \