summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2ab836e)
We want to be able to disable the many @'s in the Makefiles so
that we can see what they are doing, when things go wrong. It is
conventional to arrange for setting V=1 to have this effect.
Here we supply a formulaic stanza for either setting Q?=@ or
doing nothing. (There is sadly no standard place which is
included in all the Makefiles so this is probably best).
In this patch we do not introduce any users of Q yet. This is
because the next patch, which introduces all the users of Q, can
be generated entirely automatically. (This is also convenient in
case something needs to be rebased across it.)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
DESTDIR=/usr
PREFIX=/local
DESTDIR=/usr
PREFIX=/local
+ifneq ($V,1)
+Q ?= @
+endif
+
STATIC=libwiringPiDev.a
DYNAMIC=libwiringPiDev.so.$(VERSION)
STATIC=libwiringPiDev.a
DYNAMIC=libwiringPiDev.so.$(VERSION)
# Copyright (c) 2013 Gordon Henderson
#################################################################################
# Copyright (c) 2013 Gordon Henderson
#################################################################################
+ifneq ($V,1)
+Q ?= @
+endif
+
#DEBUG = -g -O0
DEBUG = -O3
CC = gcc
#DEBUG = -g -O0
DEBUG = -O3
CC = gcc
# along with wiringPi. If not, see <http://www.gnu.org/licenses/>.
#################################################################################
# along with wiringPi. If not, see <http://www.gnu.org/licenses/>.
#################################################################################
+ifneq ($V,1)
+Q ?= @
+endif
#DEBUG = -g -O0
DEBUG = -O3
#DEBUG = -g -O0
DEBUG = -O3
# along with wiringPi. If not, see <http://www.gnu.org/licenses/>.
#################################################################################
# along with wiringPi. If not, see <http://www.gnu.org/licenses/>.
#################################################################################
+ifneq ($V,1)
+Q ?= @
+endif
#DEBUG = -g -O0
DEBUG = -O3
#DEBUG = -g -O0
DEBUG = -O3
# along with wiringPi. If not, see <http://www.gnu.org/licenses/>.
#################################################################################
# along with wiringPi. If not, see <http://www.gnu.org/licenses/>.
#################################################################################
+ifneq ($V,1)
+Q ?= @
+endif
#DEBUG = -g -O0
DEBUG = -O3
#DEBUG = -g -O0
DEBUG = -O3
# along with wiringPi. If not, see <http://www.gnu.org/licenses/>.
#################################################################################
# along with wiringPi. If not, see <http://www.gnu.org/licenses/>.
#################################################################################
+ifneq ($V,1)
+Q ?= @
+endif
#DEBUG = -g -O0
DEBUG = -O3
#DEBUG = -g -O0
DEBUG = -O3
DESTDIR=/usr
PREFIX=/local
DESTDIR=/usr
PREFIX=/local
+ifneq ($V,1)
+Q ?= @
+endif
+
#DEBUG = -g -O0
DEBUG = -O2
CC = gcc
#DEBUG = -g -O0
DEBUG = -O2
CC = gcc
+ifneq ($V,1)
+Q ?= @
+endif
+
all: ${SRC}
@echo Generating DVI
all: ${SRC}
@echo Generating DVI
DESTDIR=/usr
PREFIX=/local
DESTDIR=/usr
PREFIX=/local
+ifneq ($V,1)
+Q ?= @
+endif
+
STATIC=libwiringPi.a
DYNAMIC=libwiringPi.so.$(VERSION)
STATIC=libwiringPi.a
DYNAMIC=libwiringPi.so.$(VERSION)