Make build with conditional compilation easier.
This commit is contained in:
parent
88feaab0c0
commit
9ff036d789
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -12,7 +12,7 @@ VERS=$(shell sed -n <NEWS.adoc '/^[0-9]/s/:.*//p' | head -1)
|
||||||
.PHONY: check coverage
|
.PHONY: check coverage
|
||||||
|
|
||||||
CC?=gcc
|
CC?=gcc
|
||||||
CCFLAGS+=-std=c99 -D_DEFAULT_SOURCE -DVERSION=\"$(VERS)\" -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all $(CFLAGS) -g
|
CCFLAGS+=-std=c99 -D_DEFAULT_SOURCE -DVERSION=\"$(VERS)\" -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all $(CFLAGS) -g $(EXTRA)
|
||||||
LIBS=$(shell pkg-config --libs libedit)
|
LIBS=$(shell pkg-config --libs libedit)
|
||||||
INC+=$(shell pkg-config --cflags libedit)
|
INC+=$(shell pkg-config --cflags libedit)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue