chiark / gitweb /
Build system: Add a formulaic setting of Q from V for debugging
[wiringPi.git] / examples / Makefile
index 571e3419ff42a70163035b20aac4d48c99f81509..7671b0873be79d7744ca8ffee0dfda5851468157 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
@@ -43,6 +46,7 @@ SRC   =       blink.c blink8.c blink12.c                                      \
                nes.c                                                           \
                softPwm.c softTone.c                                            \
                delayTest.c serialRead.c serialTest.c okLed.c ds1302.c          \
+               lowPower.c                                                      \
                rht03.c piglow.c
 
 OBJ    =       $(SRC:.c=.o)