From f16a5d0ff7a64becd3a2462ef9ed18ade1f7b4d9 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 15 Apr 2014 14:44:34 +0200 Subject: Link integration_check and prof2d_check with libcrystfel's list of libraries ... instead of the list of libraries used for the core programs. The former contains ncurses, but the latter doesn't. These tests #include a load of libcrystfel code, so they need the libcrystfel libraries. --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 72a2eaab..a4efba1c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -49,6 +49,14 @@ AM_CPPFLAGS += -I$(top_srcdir)/lib LDADD = $(top_builddir)/lib/libgnu.la @IGNORE_UNUSED_LIBRARIES_CFLAGS@ LDADD += $(top_builddir)/libcrystfel/libcrystfel.la @MAIN_LIBS@ +tests_integration_check_LDADD = $(top_builddir)/lib/libgnu.la +tests_integration_check_LDADD += $(top_builddir)/libcrystfel/libcrystfel.la +tests_integration_check_LDADD += @LIBCRYSTFEL_LIBS@ + +tests_prof2d_check_LDADD = $(top_builddir)/lib/libgnu.la +tests_prof2d_check_LDADD += $(top_builddir)/libcrystfel/libcrystfel.la +tests_prof2d_check_LDADD += @LIBCRYSTFEL_LIBS@ + src_partial_sim_SOURCES = src/partial_sim.c src_pattern_sim_SOURCES = src/pattern_sim.c src/diffraction.c -- cgit v1.2.3