kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 302c3b6c9d1f338ead14f6317754a6a49d3f11dd
parent f9cac98ab537f64ee5d283f37e223372ecc4580c
Author: Thordur Bjornsson <thorduri@secnorth.net>
Date:   Sat, 16 Nov 2013 13:30:47 +0100

If DEBUG is set in the environment, define KORE_DEBUG

Diffstat:
Makefile | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile b/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/