aboutsummaryrefslogtreecommitdiff
path: root/pgsql/template/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pgsql/template/makefile')
-rw-r--r--pgsql/template/makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/pgsql/template/makefile b/pgsql/template/makefile
index 53e817c..5a86b91 100644
--- a/pgsql/template/makefile
+++ b/pgsql/template/makefile
@@ -6,7 +6,9 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../build/bootstrap.make
cxx_tun := driver.cxx
odb_hdr := test.hxx
-cxx_obj := $(addprefix $(out_base)/,$(cxx_tun:.cxx=.o))
+genf := $(call odb-gen,$(odb_hdr))
+gen := $(addprefix $(out_base)/,$(genf))
+cxx_obj := $(addprefix $(out_base)/,$(cxx_tun:.cxx=.o)) $(filter %.o,$(gen:.cxx=.o))
cxx_od := $(cxx_obj:.o=.o.d)
common.l := $(out_root)/libcommon/common/common.l