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/devices/pic/xml_data/Makefile.am | |
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/devices/pic/xml_data/Makefile.am')
-rw-r--r-- | src/devices/pic/xml_data/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/pic/xml_data/Makefile.am b/src/devices/pic/xml_data/Makefile.am index 43b13d4..e5bd5c4 100644 --- a/src/devices/pic/xml_data/Makefile.am +++ b/src/devices/pic/xml_data/Makefile.am @@ -3,10 +3,10 @@ METASOURCES = AUTO noinst_LTLIBRARIES = libpicxml.la libpicxml_la_SOURCES = pic_data.cpp -libpicxml_la_DEPENDENCIES = pic_data.cpp +libpicxml_la_DEPENDENCIES = $(srcdir)/pic_data.cpp include deps.mak noinst_DATA += registers/registers.xml registers/registers_missing.xml -pic_data.cpp: ../xml/pic_xml_to_data $(noinst_DATA) - ../xml/pic_xml_to_data +$(srcdir)/pic_data.cpp: ../xml/pic_xml_to_data $(noinst_DATA) + cd $(srcdir) && $(abs_builddir)/../xml/pic_xml_to_data CLEANFILES = pic_data.cpp |