diff --git a/Makefile.am b/Makefile.am
index 29b7df4bf2faf2643a17740e69244f6a9e9d335e..1c178d645071bba24de7bc1a140774aebd8f1c7d 100644 (file)
--- a/Makefile.am
+++ b/Makefile.am
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)
+test_run_hscroll_CPPFLAGS = -I$(srcdir)/src $(AM_CPPFLAGS)
+test_run_hscroll_LDADD = $(GLIB_LIBS)
#
# sparse