aboutsummaryrefslogtreecommitdiff
path: root/examples/lm4f/Makefile.include
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2013-02-26 16:42:20 -0800
committerPiotr Esden-Tempski2013-02-26 16:42:20 -0800
commitb0233ae6fbf066a26667be713839887f73dc6ece (patch)
tree4141c5222e2c0df9b3f8fc63d3177d0eb11dc316 /examples/lm4f/Makefile.include
parentc51e01e0fe514a289b67ddd7c797827f7fe42b62 (diff)
Added more warning CFLAGS to all makefiles.
Diffstat (limited to 'examples/lm4f/Makefile.include')
-rw-r--r--examples/lm4f/Makefile.include6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/lm4f/Makefile.include b/examples/lm4f/Makefile.include
index 60987e8..91511ce 100644
--- a/examples/lm4f/Makefile.include
+++ b/examples/lm4f/Makefile.include
@@ -37,7 +37,11 @@ endif
endif
ARCH_FLAGS = -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16
-CFLAGS += -O0 -g3 -Wall -Wextra -I$(TOOLCHAIN_DIR)/include \
+CFLAGS += -O0 -g3 \
+ -Wall -Wextra -Wimplicit-function-declaration \
+ -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
+ -Wundef -Wshadow \
+ -I$(TOOLCHAIN_DIR)/include \
-fno-common $(ARCH_FLAGS) -MD -DLM4F
LDSCRIPT ?= $(BINARY).ld
LDFLAGS += --static -Wl,--start-group -lc -lgcc -lnosys -Wl,--end-group \