simplify makefiles
This commit is contained in:
parent
bba4db85c2
commit
a65eac6764
14
Android.mk
14
Android.mk
@ -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
|
||||
|
15
Linux.mk
15
Linux.mk
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user