summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2018-10-29 10:27:34 +0100
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-11-01 15:24:56 +0100
commit98819dfa5853d7c8355d70aa1aa7783677c391e5 (patch)
tree279e06ca26952e993de5e15618b05268d35a6737 /Makefile
parent7b09f5b14f11d4e362e8e84560e483d6b29d73d2 (diff)
downloadandroid-node-v8-98819dfa5853d7c8355d70aa1aa7783677c391e5.tar.gz
android-node-v8-98819dfa5853d7c8355d70aa1aa7783677c391e5.tar.bz2
android-node-v8-98819dfa5853d7c8355d70aa1aa7783677c391e5.zip
build: make benchmark/napi all prereq order-only
This commit makes the all prerequisites order-only to prevent this target's rules to be executed every time which is currently the case as the all target is a phony target and will be executed every time. PR-URL: https://github.com/nodejs/node/pull/23951 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 88be22fcac..aa8d75242c 100644
--- a/Makefile
+++ b/Makefile
@@ -308,19 +308,19 @@ test-valgrind: all
test-check-deopts: all
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) --check-deopts parallel sequential
-benchmark/napi/function_call/build/Release/binding.node: all \
+benchmark/napi/function_call/build/Release/binding.node: \
benchmark/napi/function_call/napi_binding.c \
benchmark/napi/function_call/binding.cc \
- benchmark/napi/function_call/binding.gyp
+ benchmark/napi/function_call/binding.gyp | all
$(NODE) deps/npm/node_modules/node-gyp/bin/node-gyp rebuild \
--python="$(PYTHON)" \
--directory="$(shell pwd)/benchmark/napi/function_call" \
--nodedir="$(shell pwd)"
-benchmark/napi/function_args/build/Release/binding.node: all \
+benchmark/napi/function_args/build/Release/binding.node: \
benchmark/napi/function_args/napi_binding.c \
benchmark/napi/function_args/binding.cc \
- benchmark/napi/function_args/binding.gyp
+ benchmark/napi/function_args/binding.gyp | all
$(NODE) deps/npm/node_modules/node-gyp/bin/node-gyp rebuild \
--python="$(PYTHON)" \
--directory="$(shell pwd)/benchmark/napi/function_args" \