From 9f4064c1e558a946ea30ab93bd132745abe80a39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 1 May 2016 12:25:28 +0200 Subject: Fix build out-of-source MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/progs/psp/base/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/progs/psp/base') diff --git a/src/progs/psp/base/Makefile.am b/src/progs/psp/base/Makefile.am index 93ce348..4264171 100644 --- a/src/progs/psp/base/Makefile.am +++ b/src/progs/psp/base/Makefile.am @@ -3,9 +3,9 @@ METASOURCES = AUTO noinst_LTLIBRARIES = libpsp.la libpsp_la_SOURCES = psp_prog.cpp psp_serial.cpp psp_data.cpp psp.cpp -libpsp_la_DEPENDENCIES = psp_data.cpp +libpsp_la_DEPENDENCIES = $(srcdir)/psp_data.cpp noinst_DATA = psp.xml -psp_data.cpp: ../xml/xml_psp_parser psp.xml - ../xml/xml_psp_parser +$(srcdir)/psp_data.cpp: ../xml/xml_psp_parser psp.xml + cd $(srcdir) && $(abs_builddir)/../xml/xml_psp_parser CLEANFILES = psp_data.cpp -- cgit v1.2.1