aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-11-03 19:09:01 +0100
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-11-03 19:09:01 +0100
commit472bb6849cd9b51589e27d0d124e6a883d1de1e6 (patch)
treeab155d4a8c72948b970b40e2977f6bdb0518004e /templates
parent6b43ac41b9b0503fcd1b965c1cd7504c84f4e451 (diff)
Fixing proto dependencies for targets that aren't libraries.
Diffstat (limited to 'templates')
-rw-r--r--templates/Makefile.template5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/Makefile.template b/templates/Makefile.template
index 115d8136b5..20d14c797f 100644
--- a/templates/Makefile.template
+++ b/templates/Makefile.template
@@ -1851,6 +1851,11 @@
endif
% endif
% endif
+ % for src in tgt.src:
+ % if not proto_re.match(src) and any(proto_re.match(src2) for src2 in tgt.src):
+ $(OBJDIR)/$(CONFIG)/${os.path.splitext(src)[0]}.o: ${' '.join(proto_to_cc(src2) for src2 in tgt.src if proto_re.match(src2))}
+ % endif
+ % endfor
</%def>
ifneq ($(OPENSSL_DEP),)