Set up compiler warnings as errors

This commit is contained in:
Pim van Pelt
2018-04-22 14:22:46 +02:00
parent b33daf2981
commit 2d738835f9

View File

@ -1,7 +1,7 @@
TARGET = mgos_i2c
CC = gcc
# CFLAGS = -g -O -Wall -Wextra -std=c89 -pedantic -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition
CFLAGS = -g -O -Wall -Wextra -pedantic -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition
CFLAGS = -g -O2 -pedantic -Werror -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition
LINKER = gcc
LFLAGS = -O -Wall -I. -lm