Now that the build completes with no warnings, make future warnings
into errors.
Signed-off-by: Keith Packard <keithp@keithp.com>
ELFTOHEX=$(TOPDIR)/../ao-tools/ao-elftohex/ao-elftohex
CC=$(ARM_CC)
-WARN_FLAGS=-Wall -Wextra
+WARN_FLAGS=-Wall -Wextra -Werror
AO_CFLAGS=-I. -I$(TOPDIR)/lpc -I$(TOPDIR)/core -I$(TOPDIR)/drivers -I$(TOPDIR)/product -I$(TOPDIR) $(PDCLIB_INCLUDES)
LPC_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m0 -mthumb\
CC=$(ARM_CC)
LIBS=$(PDCLIB_LIBS_M3) -lgcc
-WARN_FLAGS=-Wall -Wextra
+WARN_FLAGS=-Wall -Wextra -Werror
AO_CFLAGS=-I. -I../stm -I../core -I../drivers -I../math -I.. $(PDCLIB_INCLUDES)
STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb \