summaryrefslogtreecommitdiffstats
path: root/src/coff
diff options
context:
space:
mode:
Diffstat (limited to 'src/coff')
-rw-r--r--src/coff/base/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/coff/base/Makefile.am b/src/coff/base/Makefile.am
index c6ffbab..83ca6dd 100644
--- a/src/coff/base/Makefile.am
+++ b/src/coff/base/Makefile.am
@@ -5,9 +5,9 @@ noinst_LTLIBRARIES = libcoff.la
libcoff_la_LDFLAGS = $(all_libraries)
libcoff_la_SOURCES = coff.cpp gpdis.cpp gpopcode.cpp disassembler.cpp \
coff_data.cpp text_coff.cpp cdb_parser.cpp coff_archive.cpp coff_object.cpp
-libcoff_la_DEPENDENCIES = coff_data.cpp
+libcoff_la_DEPENDENCIES = $(srcdir)/coff_data.cpp
noinst_DATA = coff.xml
-coff_data.cpp: ../xml/xml_coff_parser coff.xml
- ../xml/xml_coff_parser
+$(srcdir)/coff_data.cpp: ../xml/xml_coff_parser coff.xml
+ cd $(srcdir) && $(abs_builddir)/../xml/xml_coff_parser
CLEANFILES = coff_data.cpp