diff --git a/devLib/Makefile b/devLib/Makefile index d62b532..21ea512 100644 --- a/devLib/Makefile +++ b/devLib/Makefile @@ -25,6 +25,10 @@ VERSION=$(shell cat ../VERSION) DESTDIR=/usr PREFIX=/local +ifneq ($V,1) +Q ?= @ +endif + STATIC=libwiringPiDev.a DYNAMIC=libwiringPiDev.so.$(VERSION) diff --git a/examples/Gertboard/Makefile b/examples/Gertboard/Makefile index 7569261..7be81ab 100644 --- a/examples/Gertboard/Makefile +++ b/examples/Gertboard/Makefile @@ -5,6 +5,10 @@ # Copyright (c) 2013 Gordon Henderson ################################################################################# +ifneq ($V,1) +Q ?= @ +endif + #DEBUG = -g -O0 DEBUG = -O3 CC = gcc diff --git a/examples/Makefile b/examples/Makefile index c9967dc..7671b08 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -22,6 +22,9 @@ # along with wiringPi. If not, see . ################################################################################# +ifneq ($V,1) +Q ?= @ +endif #DEBUG = -g -O0 DEBUG = -O3 diff --git a/examples/PiFace/Makefile b/examples/PiFace/Makefile index 0bde334..7bab7ce 100644 --- a/examples/PiFace/Makefile +++ b/examples/PiFace/Makefile @@ -22,6 +22,9 @@ # along with wiringPi. If not, see . ################################################################################# +ifneq ($V,1) +Q ?= @ +endif #DEBUG = -g -O0 DEBUG = -O3 diff --git a/examples/PiGlow/Makefile b/examples/PiGlow/Makefile index 8d31141..6d8d5bf 100644 --- a/examples/PiGlow/Makefile +++ b/examples/PiGlow/Makefile @@ -22,6 +22,9 @@ # along with wiringPi. If not, see . ################################################################################# +ifneq ($V,1) +Q ?= @ +endif #DEBUG = -g -O0 DEBUG = -O3 diff --git a/examples/q2w/Makefile b/examples/q2w/Makefile index 150c825..a7bc337 100644 --- a/examples/q2w/Makefile +++ b/examples/q2w/Makefile @@ -22,6 +22,9 @@ # along with wiringPi. If not, see . ################################################################################# +ifneq ($V,1) +Q ?= @ +endif #DEBUG = -g -O0 DEBUG = -O3 diff --git a/gpio/Makefile b/gpio/Makefile index 449986e..df05dbe 100644 --- a/gpio/Makefile +++ b/gpio/Makefile @@ -26,6 +26,10 @@ DESTDIR=/usr PREFIX=/local +ifneq ($V,1) +Q ?= @ +endif + #DEBUG = -g -O0 DEBUG = -O2 CC = gcc diff --git a/pins/Makefile b/pins/Makefile index fd34ee9..649961b 100644 --- a/pins/Makefile +++ b/pins/Makefile @@ -1,6 +1,10 @@ SRC = pins.tex +ifneq ($V,1) +Q ?= @ +endif + all: ${SRC} @echo Generating DVI diff --git a/wiringPi/Makefile b/wiringPi/Makefile index 015a894..a04f907 100644 --- a/wiringPi/Makefile +++ b/wiringPi/Makefile @@ -25,6 +25,10 @@ VERSION=$(shell cat ../VERSION) DESTDIR=/usr PREFIX=/local +ifneq ($V,1) +Q ?= @ +endif + STATIC=libwiringPi.a DYNAMIC=libwiringPi.so.$(VERSION)