chiark / gitweb /
Build system: Add a formulaic setting of Q from V for debugging
[wiringPi.git] / devLib / Makefile
index d62b5324e0640384b7fb063fa5e085cb1efa36ec..21ea512beb13a3681fbfa8a05bba25a41ba82043 100644 (file)
@@ -25,6 +25,10 @@ VERSION=$(shell cat ../VERSION)
 DESTDIR=/usr
 PREFIX=/local
 
+ifneq ($V,1)
+Q ?= @
+endif
+
 STATIC=libwiringPiDev.a
 DYNAMIC=libwiringPiDev.so.$(VERSION)