aboutsummaryrefslogtreecommitdiff
path: root/lib/lm4f/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lm4f/Makefile')
-rw-r--r--lib/lm4f/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/lm4f/Makefile b/lib/lm4f/Makefile
index a3b7dce..d00025b 100644
--- a/lib/lm4f/Makefile
+++ b/lib/lm4f/Makefile
@@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
AR = $(PREFIX)-ar
-CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \
+CFLAGS = -Os -g \
+ -Wall -Wextra -Wimplicit-function-declaration \
+ -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
+ -Wundef -Wshadow \
+ -I../../include -fno-common \
-mcpu=cortex-m4 -mthumb -mfloat-abi=hard -Wstrict-prototypes \
-ffunction-sections -fdata-sections -MD -DLM4F
# ARFLAGS = rcsv