summaryrefslogtreecommitdiffstats
path: root/src/progs/picdem_bootloader/base/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/picdem_bootloader/base/Makefile.am')
-rw-r--r--src/progs/picdem_bootloader/base/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/picdem_bootloader/base/Makefile.am b/src/progs/picdem_bootloader/base/Makefile.am
index 13a3add..b8e4ae7 100644
--- a/src/progs/picdem_bootloader/base/Makefile.am
+++ b/src/progs/picdem_bootloader/base/Makefile.am
@@ -3,9 +3,9 @@ METASOURCES = AUTO
noinst_LTLIBRARIES = libpicdembootloader.la
libpicdembootloader_la_SOURCES = picdem_bootloader_data.cpp picdem_bootloader.cpp picdem_bootloader_prog.cpp
-libpicdembootloader_la_DEPENDENCIES = picdem_bootloader_data.cpp
+libpicdembootloader_la_DEPENDENCIES = $(srcdir)/picdem_bootloader_data.cpp
noinst_DATA = picdem_bootloader.xml
-picdem_bootloader_data.cpp: ../xml/xml_picdem_bootloader_parser picdem_bootloader.xml
- ../xml/xml_picdem_bootloader_parser
+$(srcdir)/picdem_bootloader_data.cpp: ../xml/xml_picdem_bootloader_parser picdem_bootloader.xml
+ cd $(srcdir) && $(abs_builddir)/../xml/xml_picdem_bootloader_parser
CLEANFILES = picdem_bootloader_data.cpp