mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 12:39:01 -04:00
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…
x
Reference in New Issue
Block a user