mirror of
https://github.com/thepigeongenerator/mcaselector-lite
synced 2026-02-08 07:33:35 +01:00
Switch over to GNU17 C standard.
The main decision is due to GNU17 being more "modern", and more accurately reflecting practices of today.
This commit is contained in:
2
Makefile
2
Makefile
@@ -21,7 +21,7 @@ SRC := $(shell find src/ -name '*.c' -print)
|
|||||||
OBJ := $(addsuffix .o,$(SRC))
|
OBJ := $(addsuffix .o,$(SRC))
|
||||||
DEP := $(addsuffix .d,$(SRC))
|
DEP := $(addsuffix .d,$(SRC))
|
||||||
|
|
||||||
CFLAGS := -O2 $(CFLAGS) -g -std=gnu99\
|
CFLAGS := -O2 $(CFLAGS) -g -std=gnu17\
|
||||||
-Wall -Wextra -Wpedantic -Wno-pointer-arith
|
-Wall -Wextra -Wpedantic -Wno-pointer-arith
|
||||||
CPPFLAGS := -DNDEBUG $(CPPFLAGS) -DGLFW_INCLUDE_NONE\
|
CPPFLAGS := -DNDEBUG $(CPPFLAGS) -DGLFW_INCLUDE_NONE\
|
||||||
-Iinclude
|
-Iinclude
|
||||||
|
|||||||
Reference in New Issue
Block a user