diff options
author | Keith Packard <keithp@keithp.com> | 2013-12-20 23:02:51 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-12-20 23:02:51 -0800 |
commit | 16b37b49985daf21ebb93b3d6ae64af67533be22 (patch) | |
tree | a7c2e336cd18795d24f9bdf07472d1c3514b5f9d | |
parent | f578d9455eec9ea0eccd2d5e21349e274ea4281a (diff) |
altos: Turn on warnings for LPC products too
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/lpc/Makefile-lpc.defs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lpc/Makefile-lpc.defs b/src/lpc/Makefile-lpc.defs index 3d55cf67..b9687196 100644 --- a/src/lpc/Makefile-lpc.defs +++ b/src/lpc/Makefile-lpc.defs @@ -26,8 +26,11 @@ endif ELFTOHEX=$(TOPDIR)/../ao-tools/ao-elftohex/ao-elftohex CC=$(ARM_CC) +WARN_FLAGS=-Wall -Wextra + 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 -ffreestanding -nostdlib $(AO_CFLAGS) +LPC_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m0 -mthumb\ + -ffreestanding -nostdlib $(AO_CFLAGS) $(WARN_FLAGS) NICKLE=nickle |