simplify makefiles

This commit is contained in:
Edouard DUPIN 2012-08-10 12:14:06 +02:00
parent bba4db85c2
commit a65eac6764
2 changed files with 4 additions and 25 deletions

View File

@ -11,19 +11,9 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH) \
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
ifeq ($(DEBUG),1)
LOCAL_CFLAGS := -D__PLATFORM__Android \
-DOGG_DEBUG_LEVEL=3 \
-DOGG_VERSION_TAG_NAME="\"1.3.0-debug\""
-DTREMOR_DEBUG_LEVEL=3 \
-DTREMOR_VERSION_TAG_NAME="\"1.0.2-debug\""
else
LOCAL_CFLAGS := -D__PLATFORM__Android \
-DOGG_DEBUG_LEVEL=1 \
-DOGG_VERSION_TAG_NAME="\"1.3.0-release\""
-DTREMOR_DEBUG_LEVEL=1 \
LOCAL_CFLAGS := -DOGG_VERSION_TAG_NAME="\"1.3.0-$(BUILD_DIRECTORY_MODE)\""
-DTREMOR_VERSION_TAG_NAME="\"1.0.2-release\""
endif
# load the common sources file of the platform
include $(LOCAL_PATH)/file.mk

View File

@ -12,19 +12,8 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/tremor/ \
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
ifeq ($(DEBUG),1)
LOCAL_CFLAGS := -D__PLATFORM__Linux \
-DOGG_DEBUG_LEVEL=3 \
-DOGG_VERSION_TAG_NAME="\"1.0.2-debug\""
-DTREMOR_DEBUG_LEVEL=3 \
-DTREMOR_VERSION_TAG_NAME="\"1.0.2-debug\""
else
LOCAL_CFLAGS := -D__PLATFORM__Linux \
-DOGG_DEBUG_LEVEL=1 \
-DOGG_VERSION_TAG_NAME="\"1.0.2-release\""
-DTREMOR_DEBUG_LEVEL=1 \
-DTREMOR_VERSION_TAG_NAME="\"1.0.2-release\""
endif
LOCAL_CFLAGS := -DOGG_VERSION_TAG_NAME="\"1.0.2-$(BUILD_DIRECTORY_MODE)\""
-DTREMOR_VERSION_TAG_NAME="\"1.0.2-$(BUILD_DIRECTORY_MODE)\""
# load the common sources file of the platform
include $(LOCAL_PATH)/file.mk