ignore some useless warnings
This commit is contained in:
parent
033c93af42
commit
3ea25f83ad
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -60,7 +60,10 @@ all: $(PROGNAME)
|
||||||
$(PROGNAME): $(OBJ)
|
$(PROGNAME): $(OBJ)
|
||||||
$(CC) $(OBJ) $(LDFLAGS) -o $(PROGNAME)
|
$(CC) $(OBJ) $(LDFLAGS) -o $(PROGNAME)
|
||||||
|
|
||||||
debug: CFLAGS = -Wall -Wextra -Wconversion -Wdouble-promotion -Wshadow -Wcast-align -Wstrict-prototypes -fanalyzer -fsanitize=undefined -fsanitize-undefined-trap-on-error -g3
|
debug: CFLAGS = -Wall -Wextra -Wconversion -Wno-sign-conversion -Wno-unused-parameter \
|
||||||
|
-Wno-unused-function -Wdouble-promotion -Wshadow -Wcast-align \
|
||||||
|
-Wstrict-prototypes -fanalyzer -fsanitize=undefined \
|
||||||
|
-fsanitize-undefined-trap-on-error -g3
|
||||||
debug: $(PROGNAME)
|
debug: $(PROGNAME)
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
|
|
Reference in a new issue