Index: native_client_sdk/src/resources/Makefile.index.template |
diff --git a/native_client_sdk/src/resources/Makefile.index.template b/native_client_sdk/src/resources/Makefile.index.template |
index 10a2e312a960005e9a0c3f0eb0db530c1aa5176d..33cf5515d18be1e0313aa1c0f123dbaed3d8ee9a 100644 |
--- a/native_client_sdk/src/resources/Makefile.index.template |
+++ b/native_client_sdk/src/resources/Makefile.index.template |
@@ -12,6 +12,10 @@ PROJECTS := \ |
{{project}} \ |
[[]] |
+[[for dep in deps:]] |
+{{dep}} |
binji
2014/04/28 21:01:22
Can you give an example of what this will generate
noelallen1
2014/04/28 23:00:33
Done.
|
+[[]] |
+ |
HTTPD_PY := python {{rel_sdk}}/tools/httpd.py |
ifeq ($(TOOLCHAIN),all) |
@@ -33,7 +37,7 @@ all: |
define TARGET |
ALL_TARGET_LIST+=$(1)_ALL_TARGET |
.PHONY: $(1)_ALL_TARGET |
-$(1)_ALL_TARGET: |
+$(1)_ALL_TARGET: $$($(1)_DEPS) |
+$(MAKE) -C $(1) $(TOOLCHAIN_ARG) all |
CLEAN_TARGET_LIST+=$(1)_CLEAN_TARGET |