diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-06 18:26:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-06 22:36:50 +0900 |
commit | ac3f0014232619edc41865f6e42e6510bdd8acc6 (patch) | |
tree | 9f851f02238781fb9ffe7f76ac446d25e9c92668 /src/progs/icd2/base | |
parent | 1c22ae157c39e2c1434e5ec43a05eda78dc86798 (diff) | |
download | piklab-ac3f0014232619edc41865f6e42e6510bdd8acc6.tar.gz piklab-ac3f0014232619edc41865f6e42e6510bdd8acc6.zip |
Allow generation of build time data files in out-of-source builds. Also fix generation of data file for devices/mem24 subfolder
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/progs/icd2/base')
-rw-r--r-- | src/progs/icd2/base/Makefile.am | 6 |
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 |