From ca7ca6c2ce204bf2d64652a8170f37e83f1ea6a6 Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Fri, 17 Dec 2004 18:02:42 +0000 Subject: Isolated CFLAGS to be used when compiling Lasso in LASSO_CORE_CFLAGS; don't use those when compiling tests in order to catch errors in headers. Also moved a few things in header files; need more thinking about that. --- tests/Makefile.am | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index 8e2dabc9..bb853d52 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,14 +1,13 @@ if WITH_TESTS TESTS = tests -noinst_PROGRAMS = tests +noinst_PROGRAMS = tests perfs minitests INCLUDES = \ -DPACKAGE=\"@PACKAGE@\" \ -I$(top_srcdir) \ -I$(top_srcdir)/lasso \ -DTESTSDATADIR=\"$(srcdir)/data/\" \ - $(LASSO_DEFINES) \ $(LASSO_CFLAGS) \ $(CHECK_CFLAGS) @@ -17,6 +16,13 @@ tests_LDADD = \ $(top_builddir)/lasso/liblasso.la \ $(LASSO_LIBS) \ $(CHECK_LIBS) + +perfs_SOURCES = perfs.c +perfs_LDADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) + +minitests_SOURCES = minitests.c +minitests_LDADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) + endif EXTRA_DIST = tests.c login_tests.c basic_tests.c random_tests.c -- cgit