c99
This commit is contained in:
parent
c50ef2b189
commit
f9d5364b74
|
@ -5,19 +5,19 @@ ifeq ($(mode),)
|
||||||
mode = debug
|
mode = debug
|
||||||
endif
|
endif
|
||||||
ifeq ($(mode),debug)
|
ifeq ($(mode),debug)
|
||||||
CFLAGS := -O0 -g -DDEBUG -std=gnu99 -pedantic -Wextra -Wconversion $(CFLAGS)
|
CFLAGS := -O0 -g -DDEBUG -std=c99 -pedantic -Wextra -Wconversion $(CFLAGS)
|
||||||
LDFLAGS := $(LDFLAGS)
|
LDFLAGS := $(LDFLAGS)
|
||||||
endif
|
endif
|
||||||
ifeq ($(mode),profile)
|
ifeq ($(mode),profile)
|
||||||
CFLAGS := -O0 -g -DDEBUG -p -ftest-coverage -Wcoverage-mismatch $(CFLAGS)
|
CFLAGS := -O0 -g -DDEBUG -std=c99 -p -ftest-coverage -Wcoverage-mismatch $(CFLAGS)
|
||||||
LDFLAGS := -g -p $(LDFLAGS)
|
LDFLAGS := -g -p $(LDFLAGS)
|
||||||
endif
|
endif
|
||||||
ifeq ($(mode),develop)
|
ifeq ($(mode),develop)
|
||||||
CFLAGS := -O2 -g -DDEBUG $(CFLAGS)
|
CFLAGS := -O2 -g -DDEBUG -std=c99 $(CFLAGS)
|
||||||
LDFLAGS := -O1 $(LDFLAGS)
|
LDFLAGS := -O1 $(LDFLAGS)
|
||||||
endif
|
endif
|
||||||
ifeq ($(mode),release)
|
ifeq ($(mode),release)
|
||||||
CFLAGS := -O2 $(CFLAGS)
|
CFLAGS := -O2 -std=c99 $(CFLAGS)
|
||||||
LDFLAGS := -O1 $(LDFLAGS)
|
LDFLAGS := -O1 $(LDFLAGS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue