From fa3b6fa3ee1de42232f0513539af2464a3c9203a Mon Sep 17 00:00:00 2001 From: 11rcombs Date: Sat, 25 Jan 2014 16:46:10 -0600 Subject: [PATCH] Test/Profile: Support out-of-tree builds --- profile/Makefile.am | 4 ++-- test/Makefile.am | 6 +++--- 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 -- 2.40.0