diff Makefile @ 5:951277329ee6

Use splitargv instead of rolling our own. Fix WDT tripping continuously on self reset (disable WDT on startup). Pretty up startup message.
author Daniel O'Connor <darius@dons.net.au>
date Sun, 15 Feb 2015 16:16:54 +1030
parents be930b34fcd3
children
line wrap: on
line diff
--- a/Makefile	Tue Jan 27 23:40:50 2015 +1030
+++ b/Makefile	Sun Feb 15 16:16:54 2015 +1030
@@ -1,5 +1,5 @@
 PROG=	sprink
-SRCS=	sprink.c cons.c ds1307.c 1wire.c water.c
+SRCS=	sprink.c cons.c ds1307.c 1wire.c water.c splitargv.c
 
 #TPREFIX=	/usr/local/CrossPack-AVR/bin/
 
@@ -20,6 +20,7 @@
 
 #CFLAGS+=-DOW_DEBUG
 
+CFLAGS+=-Werror
 # Use minimal printf
 #LDFLAGS+=-Wl,-u,vfprintf -lprintf_min