aboutsummaryrefslogtreecommitdiff
path: root/mapping/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mapping/makefile')
-rw-r--r--mapping/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/mapping/makefile b/mapping/makefile
index 1b50fe2..31ffdb2 100644
--- a/mapping/makefile
+++ b/mapping/makefile
@@ -47,7 +47,8 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
$(gen) $(dist): export odb_options += --database $(db_id) --generate-schema \
---generate-query --hxx-prologue '\#include "traits.hxx"'
+--generate-query --hxx-prologue '\#include "traits.hxx"' \
+--table-prefix mapping_
$(gen): cpp_options := -I$(src_base)
$(gen): $(odb.l.cpp-options)