Added more warning CFLAGS to all makefiles.

This commit is contained in:
Piotr Esden-Tempski
2013-02-26 16:42:20 -08:00
parent c51e01e0fe
commit b0233ae6fb
22 changed files with 110 additions and 22 deletions

View File

@@ -25,7 +25,11 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
AR = $(PREFIX)-ar
CFLAGS = -O2 -g3 -Wall -Wextra -I../../include -fno-common \
CFLAGS = -O2 -g3 \
-Wall -Wextra -Wimplicit-function-declaration \
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
-Wundef -Wshadow \
-I../../include -fno-common \
-mcpu=cortex-m4 -mthumb -Wstrict-prototypes \
-ffunction-sections -fdata-sections -MD \
-mfloat-abi=hard -mfpu=fpv4-sp-d16 -DLPC43XX