summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/build/make/templates.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/build/make/templates.mk b/source4/build/make/templates.mk
index dbfc738ae1..12a606c432 100644
--- a/source4/build/make/templates.mk
+++ b/source4/build/make/templates.mk
@@ -57,6 +57,8 @@ $(1): $(2) ;
@echo "Creating $$@"
@$$(PERL) $$(srcdir)/script/mkproto.pl --srcdir=$$(srcdir) --builddir=$$(builddir) --public=/dev/null --private=$$@ $$^
+$($(2):.c=.o): $(1) ;
+
endef
# Shared module