aboutsummaryrefslogtreecommitdiff
path: root/pgsql/template/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-10-15 06:27:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-10-15 06:27:35 +0200
commitccb45f5515e31f394f5164d8675b43f6b3f8b66c (patch)
tree3a03f47b3d887e8709c8766521d88b7d9db1363d /pgsql/template/makefile
parente90e03ef9627d2feb5886f6bb8966ab4a6652ca9 (diff)
Fix broken makefiles
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