aboutsummaryrefslogtreecommitdiff
path: root/odb/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-14 19:04:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-14 19:04:14 +0200
commitcf503d65bf38512a89fd44e94346a3ffe56d4f40 (patch)
treebe93313c411567082bebb275462e52309a4188ba /odb/makefile
parentf7c9c07973ff5a1041036478fcae87f77457d737 (diff)
Support fall-back dependency tracking
Diffstat (limited to 'odb/makefile')
-rw-r--r--odb/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/makefile b/odb/makefile
index 15439da..6e8790f 100644
--- a/odb/makefile
+++ b/odb/makefile
@@ -56,8 +56,6 @@ $(odb.l): $(cxx_obj) -lpthread
$(cxx_obj) $(cxx_od): $(odb.l.cpp-options) $(out_base)/details/config.h
$(odb.l.cpp-options): value := -I$(out_root) -I$(src_root)
-$(call include-dep,$(cxx_od))
-
$(out_base)/details/config.h:
@echo '// file : odb/details/config.h' >$@
@echo '// author : automatically generated' >>$@
@@ -69,6 +67,8 @@ $(out_base)/details/config.h:
@echo '' >>$@
@echo '#endif // ODB_DETAILS_CONFIG_H' >>$@
+$(call include-dep,$(cxx_od),$(cxx_obj),$(out_base)/details/config.h)
+
# Convenience alias for default target.
#
$(out_base)/: $(odb.l)