aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/parser/library/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-01-16 06:40:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-01-19 10:06:31 +0200
commitcf193dfbd9948300b8347008599aed117336787b (patch)
treea94e22ef64f933f13003f6b18bc1dc7ae28a1d0b /examples/cxx/parser/library/makefile
parent8057904d4e023a2d69d9966b8c8772a9ae63b7d3 (diff)
Fix makefiles for building in separate directory
Diffstat (limited to 'examples/cxx/parser/library/makefile')
-rw-r--r--examples/cxx/parser/library/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cxx/parser/library/makefile b/examples/cxx/parser/library/makefile
index d5fc622..df74512 100644
--- a/examples/cxx/parser/library/makefile
+++ b/examples/cxx/parser/library/makefile
@@ -29,7 +29,7 @@ $(call import,\
#
$(driver): $(obj) $(xerces_c.l)
-$(obj) $(dep): cpp_options := -I$(src_root)/libxsd
+$(obj) $(dep): cpp_options := -I$(out_base) -I$(src_base) -I$(src_root)/libxsd
$(obj) $(dep): $(xerces_c.l.cpp-options)
genf := $(xsd:.xsd=-pskel.hxx) $(xsd:.xsd=-pskel.ixx) $(xsd:.xsd=-pskel.cxx)