From a1d6d096caaa0953303eae1b8a9b0d0286cab515 Mon Sep 17 00:00:00 2001 From: djcb Date: Fri, 20 Jul 2012 11:54:53 +0300 Subject: [PATCH] * guile: minor Makefile update --- guile/Makefile.am | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/guile/Makefile.am b/guile/Makefile.am index be73d08d..0c296a19 100644 --- a/guile/Makefile.am +++ b/guile/Makefile.am @@ -16,20 +16,21 @@ include $(top_srcdir)/gtest.mk -# don't use -Werror, as it might break on other compilers -# use -Wno-unused-parameters, because some callbacks may not -# really need all the params they get -AM_CFLAGS=-Wall -Wextra -Wno-unused-parameter -Wdeclaration-after-statement -AM_CXXFLAGS=-Wall -Wextra -Wno-unused-parameter - # note, we need top_builddir for snarfing with 'make distcheck' (ie., # with separate builddir) -SUBDIRS= . mu examples tests +SUBDIRS= . mu examples + +if BUILD_TESTS +SUBDIRS += tests +endif + INCLUDES=-I. -I${top_builddir} -I${top_srcdir}/lib ${GUILE_CFLAGS} ${GLIB_CFLAGS} # don't use -Werror, as it might break on other compilers # use -Wno-unused-parameters, because some callbacks may not # really need all the params they get +AM_CFLAGS=-Wall -Wextra -Wno-unused-parameter -Wdeclaration-after-statement +AM_CXXFLAGS=-Wall -Wextra -Wno-unused-parameter lib_LTLIBRARIES= \ libguile-mu.la