mirror of
https://github.com/brmlab/edubrm.git
synced 2025-06-08 12:53:59 +02:00
enable alls warnings, treat them as errors
This commit is contained in:
parent
1b0e861f3e
commit
899f2d18f3
3 changed files with 18 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
CFLAGS = -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv1p30_LPC13xx -Iinc -O0 -g3 -Wall -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m3 -mthumb
|
||||
CFLAGS = -Wall -Werror -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv1p30_LPC13xx -Iinc -O0 -g3 -Wall -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m3 -mthumb
|
||||
LDFLAGS = -nostdlib -Xlinker -Map=obj/edubrm.map --gc-sections -mcpu=cortex-m3 -mthumb -T obj/debug.ld
|
||||
LIST = $(shell cd src/ ; ls *.c)
|
||||
OBJS = $(addprefix obj/,$(LIST:.c=.o))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue