summaryrefslogtreecommitdiffstats
path: root/src/devices/pic
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/pic')
-rw-r--r--src/devices/pic/xml_data/Makefile.am6
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