summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--profile/Makefile.am4
-rw-r--r--test/Makefile.am6
2 files changed, 5 insertions, 5 deletions
diff --git a/profile/Makefile.am b/profile/Makefile.am
index 598c96b..f970636 100644
--- a/profile/Makefile.am
+++ b/profile/Makefile.am
@@ -2,6 +2,6 @@ AM_CFLAGS = -Wall
noinst_PROGRAMS = profile
profile_SOURCES = profile.c
-profile_CPPFLAGS = -I../libass
-profile_LDADD = ../libass/.libs/libass.a
+profile_CPPFLAGS = -I$(top_srcdir)/libass
+profile_LDADD = $(top_builddir)/libass/.libs/libass.a
profile_LDFLAGS = $(AM_LDFLAGS) -static
diff --git a/test/Makefile.am b/test/Makefile.am
index 208c9cf..54a179a 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -2,6 +2,6 @@ AM_CFLAGS = -Wall
noinst_PROGRAMS = test
test_SOURCES = test.c
-test_CPPFLAGS = -I../libass
-test_LDADD = ../libass/libass.la
-test_LDFLAGS = $(AM_LDFLAGS) $(LIBPNG_LIBS)
+test_CPPFLAGS = -I$(top_srcdir)/libass
+test_LDADD = $(top_builddir)/libass/.libs/libass.a
+test_LDFLAGS = $(AM_LDFLAGS) $(LIBPNG_LIBS) -static