mirror of https://git.kore.io/kore.git
If DEBUG is set in the environment, define KORE_DEBUG
This commit is contained in:
parent
f9cac98ab5
commit
302c3b6c9d
4
Makefile
4
Makefile
|
@ -13,6 +13,10 @@ CFLAGS+=-Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual
|
|||
CFLAGS+=-Wsign-compare -Iincludes -g
|
||||
LDFLAGS+=-rdynamic -lssl -lcrypto -lz
|
||||
|
||||
ifneq (, "$(DEBUG)")
|
||||
CFLAGS+=-DKORE_DEBUG
|
||||
endif
|
||||
|
||||
OSNAME=$(shell uname -s | sed -e 's/[-_].*//g' | tr A-Z a-z)
|
||||
ifeq ("$(OSNAME)", "darwin")
|
||||
CFLAGS+=-I/opt/local/include/
|
||||
|
|
Loading…
Reference in New Issue