diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-27 15:13:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-27 15:13:09 +0200 |
commit | 2b3b6f26e5125bdc23d07c88c369b5c6ce070a61 (patch) | |
tree | 721ba790c135f05ae86e5a2f1449858e14e6b132 /tracer/template/makefile | |
parent | 939cffda799008298fd45344302d5e6c2889061d (diff) |
Fix issues preventing building outside source directory
Diffstat (limited to 'tracer/template/makefile')
-rw-r--r-- | tracer/template/makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tracer/template/makefile b/tracer/template/makefile index ce99eb2..e527f3d 100644 --- a/tracer/template/makefile +++ b/tracer/template/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)) |