minor Makefile cleaning
This commit is contained in:
parent
0545096efb
commit
7ceb69b640
8
Makefile
8
Makefile
@ -1,14 +1,14 @@
|
|||||||
TARGET:=hl
|
TARGET:=hl
|
||||||
|
|
||||||
CFLAGS:=-std=c99 -Wall -Wextra -Wpedantic -Wshadow -Wundef
|
CFLAGS := -std=c99
|
||||||
CPPFLAGS:=-Iinclude -D_GNU_SOURCE -D_FORTIFY_SOURCE=2
|
CPPFLAGS := -Iinclude -D_GNU_SOURCE
|
||||||
|
|
||||||
DEBUG=1
|
DEBUG=1
|
||||||
|
|
||||||
ifeq (${DEBUG},1)
|
ifeq (${DEBUG},1)
|
||||||
CFLAGS += -Og -ggdb -pg -fno-inline
|
CFLAGS += -Og -ggdb -pg -fno-inline -Wall -Wextra -Wpedantic -Wshadow -Wundef
|
||||||
else
|
else
|
||||||
CFLAGS += -O2 -flto=auto
|
CFLAGS += -O2 -flto=auto -D_FORTIFY_SOURCE=2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PREFIX:=/usr/bin
|
PREFIX:=/usr/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user