Make code -Wall -Wextra -pedantic -Wmissing-prototypes -Wold-style-definition
This commit is contained in:
3
Makefile
3
Makefile
@ -1,6 +1,7 @@
|
||||
TARGET = mgos_i2c
|
||||
CC = gcc
|
||||
CFLAGS = -g -O -Wall
|
||||
# CFLAGS = -g -O -Wall -Wextra -std=c89 -pedantic -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition
|
||||
CFLAGS = -g -O -Wall -Wextra -pedantic -Wmissing-prototypes -Wold-style-definition
|
||||
LINKER = gcc
|
||||
LFLAGS = -O -Wall -I. -lm
|
||||
|
||||
|
Reference in New Issue
Block a user