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/direct/base/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/progs/direct') diff --git a/src/progs/direct/base/Makefile.am b/src/progs/direct/base/Makefile.am index 99070fe..fe2c47c 100644 --- a/src/progs/direct/base/Makefile.am +++ b/src/progs/direct/base/Makefile.am @@ -5,9 +5,9 @@ noinst_LTLIBRARIES = libdirectprog.la libdirectprog_la_SOURCES = direct_pic.cpp direct_baseline.cpp direct_16.cpp \ direct_16F.cpp direct_18.cpp direct_18F.cpp direct_prog.cpp direct_prog_config.cpp \ direct_data.cpp direct_mem24.cpp direct.cpp -libdirectprog_la_DEPENDENCIES = direct_data.cpp +libdirectprog_la_DEPENDENCIES = $(srcdir)/direct_data.cpp noinst_DATA = direct.xml -direct_data.cpp: ../xml/xml_direct_parser direct.xml - ../xml/xml_direct_parser +$(srcdir)/direct_data.cpp: ../xml/xml_direct_parser direct.xml + cd $(srcdir) && $(abs_builddir)/../xml/xml_direct_parser CLEANFILES = direct_data.cpp -- cgit v1.2.1