chiark / gitweb /
Build system: Add a formulaic setting of Q from V for debugging
[wiringPi.git] / examples / Gertboard / Makefile
index 75692611550d4ab154e17478eca0a67206ad3507..7be81ab8a112dcfa2b56d3084b2b54f5b8647a27 100644 (file)
@@ -5,6 +5,10 @@
 #      Copyright (c) 2013 Gordon Henderson
 #################################################################################
 
+ifneq ($V,1)
+Q ?= @
+endif
+
 #DEBUG = -g -O0
 DEBUG  = -O3
 CC     = gcc