diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-05-01 12:25:28 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-05-01 12:25:28 +0200 |
commit | 9f4064c1e558a946ea30ab93bd132745abe80a39 (patch) | |
tree | d0d75fc1fdf48b907dd2a92ee3c2975ec35e6a21 /src/progs/icd1 | |
parent | 4f8fcc711f2ae7f5a10a5695e8ad9bd4e2536f82 (diff) | |
download | piklab-9f4064c1e558a946ea30ab93bd132745abe80a39.tar.gz piklab-9f4064c1e558a946ea30ab93bd132745abe80a39.zip |
Fix build out-of-source
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/progs/icd1')
-rw-r--r-- | src/progs/icd1/base/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/icd1/base/Makefile.am b/src/progs/icd1/base/Makefile.am index 3795dc5..d289cc6 100644 --- a/src/progs/icd1/base/Makefile.am +++ b/src/progs/icd1/base/Makefile.am @@ -3,9 +3,9 @@ METASOURCES = AUTO noinst_LTLIBRARIES = libicd1.la libicd1_la_SOURCES = icd1.cpp icd1_prog.cpp icd1_serial.cpp icd1_data.cpp -libicd1_la_DEPENDENCIES = icd1_data.cpp +libicd1_la_DEPENDENCIES = $(srcdir)/icd1_data.cpp noinst_DATA = icd1.xml -icd1_data.cpp: ../xml/xml_icd1_parser icd1.xml - ../xml/xml_icd1_parser +$(srcdir)/icd1_data.cpp: ../xml/xml_icd1_parser icd1.xml + cd $(srcdir) && $(abs_builddir)/../xml/xml_icd1_parser CLEANFILES = icd1_data.cpp |