summaryrefslogtreecommitdiffstats
path: root/src/progs/direct
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-05-01 12:25:28 +0200
committerSlávek Banko <[email protected]>2016-05-01 12:25:28 +0200
commit9f4064c1e558a946ea30ab93bd132745abe80a39 (patch)
treed0d75fc1fdf48b907dd2a92ee3c2975ec35e6a21 /src/progs/direct
parent4f8fcc711f2ae7f5a10a5695e8ad9bd4e2536f82 (diff)
downloadpiklab-9f4064c1e558a946ea30ab93bd132745abe80a39.tar.gz
piklab-9f4064c1e558a946ea30ab93bd132745abe80a39.zip
Fix build out-of-source
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/progs/direct')
-rw-r--r--src/progs/direct/base/Makefile.am6
1 files changed, 3 insertions, 3 deletions
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