From 87df73edf2e00fd5111f7802b6c98b8e51714af1 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 5 Mar 2010 23:13:47 +0100 Subject: [PATCH] Print "Entering directory" only upon "make V=1". --- Makefile | 5 ++--- examples/Makefile | 5 ++--- examples/mb525/Makefile | 5 ++--- examples/other/Makefile | 5 ++--- examples/stm32-h103/Makefile | 5 ++--- 5 files changed, 10 insertions(+), 15 deletions(-) diff --git a/Makefile b/Makefile index 18dcc766..3e06b8aa 100644 --- a/Makefile +++ b/Makefile @@ -24,12 +24,11 @@ INCDIR = $(DESTDIR)/$(PREFIX)/include LIBDIR = $(DESTDIR)/$(PREFIX)/lib INSTALL = install -# Do not print "Entering directory ...". -MAKEFLAGS += --no-print-directory - # Be silent per default, but 'make V=1' will show all compiler calls. ifneq ($(V),1) Q := @ +# Do not print "Entering directory ...". +MAKEFLAGS += --no-print-directory endif all: build diff --git a/examples/Makefile b/examples/Makefile index 6714bc93..9e4a3963 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -17,12 +17,11 @@ ## along with this program. If not, see . ## -# Do not print "Entering directory ...". -MAKEFLAGS += --no-print-directory - # Be silent per default, but 'make V=1' will show all compiler calls. ifneq ($(V),1) Q := @ +# Do not print "Entering directory ...". +MAKEFLAGS += --no-print-directory endif all: stm32-h103 mb525 other diff --git a/examples/mb525/Makefile b/examples/mb525/Makefile index 9d708e3d..19d50473 100644 --- a/examples/mb525/Makefile +++ b/examples/mb525/Makefile @@ -17,12 +17,11 @@ ## along with this program. If not, see . ## -# Do not print "Entering directory ...". -MAKEFLAGS += --no-print-directory - # Be silent per default, but 'make V=1' will show all compiler calls. ifneq ($(V),1) Q := @ +# Do not print "Entering directory ...". +MAKEFLAGS += --no-print-directory endif #all: miniblink fancyblink usart diff --git a/examples/other/Makefile b/examples/other/Makefile index d9284f44..1aa90327 100644 --- a/examples/other/Makefile +++ b/examples/other/Makefile @@ -17,12 +17,11 @@ ## along with this program. If not, see . ## -# Do not print "Entering directory ...". -MAKEFLAGS += --no-print-directory - # Be silent per default, but 'make V=1' will show all compiler calls. ifneq ($(V),1) Q := @ +# Do not print "Entering directory ...". +MAKEFLAGS += --no-print-directory endif all: i2c_stts75_sensor diff --git a/examples/stm32-h103/Makefile b/examples/stm32-h103/Makefile index eddd0c1c..ee57b659 100644 --- a/examples/stm32-h103/Makefile +++ b/examples/stm32-h103/Makefile @@ -17,12 +17,11 @@ ## along with this program. If not, see . ## -# Do not print "Entering directory ...". -MAKEFLAGS += --no-print-directory - # Be silent per default, but 'make V=1' will show all compiler calls. ifneq ($(V),1) Q := @ +# Do not print "Entering directory ...". +MAKEFLAGS += --no-print-directory endif all: miniblink fancyblink usart