-check_PROGRAMS = test_array test_dump test_load test_simple test_number test_object
+check_PROGRAMS = \
+ test_array \
+ test_dump \
+ test_load \
+ test_simple \
+ test_number \
+ test_object
test_array_SOURCES = test_array.c util.h
test_dump_SOURCES = test_dump.c util.h
AM_CPPFLAGS = -I$(top_srcdir)/src
AM_CFLAGS = -Wall -Werror
LDFLAGS = -static # for speed and Valgrind
-LDADD = ../../src/libjansson.la
+LDADD = $(top_builddir)/src/libjansson.la