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:41 +0200 |
commit | bde536dd378bd00f5ef7e66ec9d9284719728d1d (patch) | |
tree | db15556f12834118db91ae353d7661f28463c92c /src/progs/psp | |
parent | f256aed8c9534e829dc1d6f7ab8dfe66aed92668 (diff) | |
download | piklab-bde536dd378bd00f5ef7e66ec9d9284719728d1d.tar.gz piklab-bde536dd378bd00f5ef7e66ec9d9284719728d1d.zip |
Fix build out-of-source
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 9f4064c1e558a946ea30ab93bd132745abe80a39)
Diffstat (limited to 'src/progs/psp')
-rw-r--r-- | src/progs/psp/base/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/psp/base/Makefile.am b/src/progs/psp/base/Makefile.am index 93ce348..4264171 100644 --- a/src/progs/psp/base/Makefile.am +++ b/src/progs/psp/base/Makefile.am @@ -3,9 +3,9 @@ METASOURCES = AUTO noinst_LTLIBRARIES = libpsp.la libpsp_la_SOURCES = psp_prog.cpp psp_serial.cpp psp_data.cpp psp.cpp -libpsp_la_DEPENDENCIES = psp_data.cpp +libpsp_la_DEPENDENCIES = $(srcdir)/psp_data.cpp noinst_DATA = psp.xml -psp_data.cpp: ../xml/xml_psp_parser psp.xml - ../xml/xml_psp_parser +$(srcdir)/psp_data.cpp: ../xml/xml_psp_parser psp.xml + cd $(srcdir) && $(abs_builddir)/../xml/xml_psp_parser CLEANFILES = psp_data.cpp |