From 0bd34c8e0fa19db7cd438e1ef7e5bcd27286b32d Mon Sep 17 00:00:00 2001 From: Edouard Dupin Date: Thu, 8 Mar 2012 17:44:56 +0100 Subject: [PATCH] generate difference in the compilation in debug ant compilation realease --- jni/Linux.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/jni/Linux.mk b/jni/Linux.mk index 5108a37..86cc39d 100644 --- a/jni/Linux.mk +++ b/jni/Linux.mk @@ -12,9 +12,15 @@ include $(LOCAL_PATH)/file.mk LOCAL_SRC_FILES := $(FILE_LIST) LOCAL_LDLIBS := -LOCAL_CFLAGS := -D__PLATFORM__Linux \ +ifeq ($(DEBUG),1) +LOCAL_CFLAGS := -D__PLATFORM__Linux \ -DEWOL_USE_FREE_TYPE \ -DDRAW_DEBUG_LEVEL=3 +else +LOCAL_CFLAGS := -D__PLATFORM__Linux \ + -DEWOL_USE_FREE_TYPE \ + -DDRAW_DEBUG_LEVEL=1 +endif include $(BUILD_EXECUTABLE)