[DEV] add a debug flag

This commit is contained in:
Edouard DUPIN 2012-12-30 21:05:17 +01:00
parent b3962202f4
commit 22c1c9d197

View File

@ -100,6 +100,7 @@ TARGET_GLOBAL_CFLAGS += -DBUILD_TIME="\"$(shell date +%Y-%m-%d_%T)\""
ifeq ($(DEBUG),1)
TARGET_GLOBAL_CFLAGS += -DDEBUG_LEVEL=3
TARGET_GLOBAL_CFLAGS += -DDEBUG=1
ifeq ("$(OPTIMISE)","1")
TARGET_GLOBAL_CFLAGS += -O2
endif