aboutsummaryrefslogtreecommitdiff
path: root/codegenerator.mk
diff options
context:
space:
mode:
authorAlfredo Tupone <atupone@gmail.com>2015-03-13 22:09:10 +0100
committerAlfredo Tupone <atupone@gmail.com>2015-03-13 22:09:10 +0100
commit210b7f9a201d53aad7106e36b7e2bc4aef1f8e7f (patch)
treea640c772e470a85397cb06b7ef84a4f8fffa33f8 /codegenerator.mk
parentf796d1d2ce961ace3d452553dccff96c79870d11 (diff)
Use $(MAKE) to call make from a Makefile.
This will enable parallel make for instance
Diffstat (limited to 'codegenerator.mk')
-rw-r--r--codegenerator.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/codegenerator.mk b/codegenerator.mk
index ed24a3fc88..895c0e81e9 100644
--- a/codegenerator.mk
+++ b/codegenerator.mk
@@ -74,7 +74,7 @@ $(SWIG):
$(GENERATED_JSON): $(JSON_BUILDER)
@echo Jsonbuilder: $(JSON_BUILDER)
- make -C $(INTERFACES_DIR)/json-rpc $(notdir $@)
+ $(MAKE) -C $(INTERFACES_DIR)/json-rpc $(notdir $@)
$(JSON_BUILDER):
ifeq ($(BOOTSTRAP_FROM_DEPENDS), yes)
@@ -82,5 +82,5 @@ ifeq ($(BOOTSTRAP_FROM_DEPENDS), yes)
@false
else
#build json builder - ".." because makefile is in the parent dir of "bin"
- make -C $(abspath $(dir $@)..)
+ $(MAKE) -C $(abspath $(dir $@)..)
endif