From d046e9d033071e3a5474510f983f83cc526cded9 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sat, 10 Aug 2013 13:17:26 +0200 Subject: [PATCH] build: make ninja build respect V= Compiling with `make V=1` (which is the default) now runs ninja in verbose mode. To disable, run `make V=`. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index d3d302b..b0d3375 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,12 @@ NODE ?= ./node # or set the V environment variable to an empty string. V ?= 1 +ifeq ($(USE_NINJA),1) +ifneq ($(V),) +NINJA := $(NINJA) -v +endif +endif + # BUILDTYPE=Debug builds both release and debug builds. If you want to compile # just the debug build, run `make -C out BUILDTYPE=Debug` instead. ifeq ($(BUILDTYPE),Release) -- 2.7.4