aboutsummaryrefslogtreecommitdiff
path: root/tracer/types
diff options
context:
space:
mode:
Diffstat (limited to 'tracer/types')
-rw-r--r--tracer/types/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracer/types/makefile b/tracer/types/makefile
index ee24b4d..2a7ceb5 100644
--- a/tracer/types/makefile
+++ b/tracer/types/makefile
@@ -32,7 +32,7 @@ $(call import,\
# Build.
#
$(driver): $(cxx_obj) $(odb_tracer.l) $(odb.l)
-$(cxx_obj) $(cxx_od): cpp_options := -I$(out_base)
+$(cxx_obj) $(cxx_od): cpp_options := -I$(out_base) -I$(src_base)
$(cxx_obj) $(cxx_od): $(odb_tracer.l.cpp-options) $(odb.l.cpp-options)
genf := $(addprefix $(odb_hdr:.hxx=-odb),.hxx .ixx .cxx)
@@ -41,7 +41,7 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
$(gen) $(dist): export odb_options += --database tracer
-$(gen): cpp_options := -I$(out_base)
+$(gen): cpp_options := -I$(src_base)
$(gen): $(odb_tracer.l.cpp-options) $(odb.l.cpp-options)
$(call include-dep,$(cxx_od),$(cxx_obj),$(gen))