aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/Makefile.template
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2017-03-30 10:21:11 -0700
committerGravatar GitHub <noreply@github.com>2017-03-30 10:21:11 -0700
commit6ee38a7e5197b47d1940fbd1296b034ea0de6004 (patch)
tree37fd0bfd5540e88a5785aaaf16eb14fea7bca735 /templates/Makefile.template
parent387c3a4f566338c488e0b6406fcf7d4580bf5784 (diff)
parent0dac09e724d6fd8856f48e47e46f859e23a2d5d0 (diff)
Merge pull request #9780 from ctiller/cpp_bazelness
More C++ Bazel support
Diffstat (limited to 'templates/Makefile.template')
-rw-r--r--templates/Makefile.template5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/Makefile.template b/templates/Makefile.template
index 018e276cca..60362b6e43 100644
--- a/templates/Makefile.template
+++ b/templates/Makefile.template
@@ -1773,6 +1773,11 @@
endif
% endif
+ % if tgt.get('defaults', None):
+ % for name, value in defaults.get(tgt.defaults).iteritems():
+ $(${tgt.name.upper()}_OBJS): ${name} += ${value}
+ % endfor
+ % endif
% for src in tgt.src:
$(OBJDIR)/$(CONFIG)/${os.path.splitext(src)[0]}.o: \
% for dep in tgt.deps: