diff --git a/Makefile.am b/Makefile.am
index 966253bff457c1d28901fb274c9c8cdab3a8396e..531954593cc6c94c058c636e20976b391d9c5ab0 100644 (file)
--- a/Makefile.am
+++ b/Makefile.am
po
ACLOCAL_AMFLAGS = -I m4
-AUTOMAKE_OPTIONS = foreign 1.9 dist-bzip2
+AUTOMAKE_OPTIONS = foreign 1.10 dist-bzip2 subdir-objects
AM_CPPFLAGS = \
$(LIBMPDCLIENT_CFLAGS) \
CLEANFILES = src/ncmpc-tiny
+#
+# test suite
+#
+
+check_PROGRAMS = \
+ test/run_hscroll
+
+test_run_hscroll_SOURCES = test/run_hscroll.c src/hscroll.c src/charset.c
+test_run_hscroll_CPPFLAGS = -Isrc $(AM_CPPFLAGS)
+test_run_hscroll_LDFLAGS = $(GLIB_LIBS)
+
#
# sparse
#