aboutsummaryrefslogtreecommitdiff
path: root/examples/lm3s/Makefile.include
diff options
context:
space:
mode:
Diffstat (limited to 'examples/lm3s/Makefile.include')
-rw-r--r--examples/lm3s/Makefile.include6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/lm3s/Makefile.include b/examples/lm3s/Makefile.include
index c9bd33c..c698f0c 100644
--- a/examples/lm3s/Makefile.include
+++ b/examples/lm3s/Makefile.include
@@ -36,7 +36,11 @@ $(info We seem to be building the example in the source directory. Using local l
endif
endif
-CFLAGS += -O0 -g3 -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
+CFLAGS += -O0 -g3 \
+ -Wall -Wextra -Wimplicit-function-declaration \
+ -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
+ -Wundef -Wshadow \
+ -I$(TOOLCHAIN_DIR)/include -fno-common \
-mcpu=cortex-m3 -mthumb -MD -DLM3S
LDSCRIPT ?= $(BINARY).ld
LDFLAGS += -L$(TOOLCHAIN_DIR)/lib \