chiark
/
gitweb
/
~ianmdlvl
/
wiringPi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Build system: Add a formulaic setting of Q from V for debugging
[wiringPi.git]
/
gpio
/
Makefile
diff --git
a/gpio/Makefile
b/gpio/Makefile
index 449986ebd8486c2e44c4a858003e6a108b991269..df05dbee8f7d2e17b87104cda2e0fbc45aacd717 100644
(file)
--- 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