chiark / gitweb /
Build system: Add a formulaic setting of Q from V for debugging
[wiringPi.git] / examples / q2w / Makefile
index 150c825f6ac7ed46cdcb95fb4ecd908254066968..a7bc337a405a1e5a6a060aa08faae2d55c77f877 100644 (file)
@@ -22,6 +22,9 @@
 #    along with wiringPi.  If not, see <http://www.gnu.org/licenses/>.
 #################################################################################
 
+ifneq ($V,1)
+Q ?= @
+endif
 
 #DEBUG = -g -O0
 DEBUG  = -O3