summaryrefslogtreecommitdiffstats
path: root/src/progs/icd2/base/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/icd2/base/Makefile.am')
-rw-r--r--src/progs/icd2/base/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/icd2/base/Makefile.am b/src/progs/icd2/base/Makefile.am
index d6c850b..610a7a9 100644
--- a/src/progs/icd2/base/Makefile.am
+++ b/src/progs/icd2/base/Makefile.am
@@ -5,9 +5,9 @@ noinst_LTLIBRARIES = libicd2.la
libicd2_la_SOURCES = microchip.cpp icd2.cpp icd2_prog.cpp icd2_serial.cpp \
icd2_usb.cpp icd2_usb_firmware.cpp icd2_data.cpp icd2_debug.cpp icd.cpp \
icd_prog.cpp icd2_debug_specific.cpp
-libicd2_la_DEPENDENCIES = $(srcdir)/icd2_data.cpp
+libicd2_la_DEPENDENCIES = icd2_data.cpp
noinst_DATA = icd2.xml
-$(srcdir)/icd2_data.cpp: ../xml/xml_icd2_parser icd2.xml
- cd $(srcdir) && $(abs_builddir)/../xml/xml_icd2_parser
+icd2_data.cpp: ../xml/xml_icd2_parser icd2.xml
+ cd $(abs_builddir) && ./../xml/xml_icd2_parser $(srcdir)
CLEANFILES = icd2_data.cpp