aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-10-27 17:55:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-10-27 17:55:03 +0200
commit7aee40f95c26ae3c5af2c723af57ba316f99cf0c (patch)
tree468511c00c7534246f040ef390a5083924201ab9
parent658a2f07b47ed80bd3ca35edd7380493c326daa3 (diff)
Make sure output directory exist before generating config.h
-rw-r--r--odb/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/makefile b/odb/makefile
index e5c9a0e..9937509 100644
--- a/odb/makefile
+++ b/odb/makefile
@@ -61,7 +61,7 @@ $(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)
-$(out_base)/details/config.h:
+$(out_base)/details/config.h: | $(out_base)/details/.
@echo '/* file : odb/details/config.h' >$@
@echo ' * author : automatically generated' >>$@
@echo ' */' >>$@