simplify makefiles

This commit is contained in:
Edouard DUPIN 2012-08-10 12:12:18 +02:00
parent 431b3c77f9
commit d8531a3a7c
3 changed files with 4 additions and 17 deletions

View File

@ -1,9 +1,4 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
# load the common sources file of the platform
include $(LOCAL_PATH)/Generic.mk
LOCAL_CFLAGS += -D__PLATFORM__Android
include $(BUILD_STATIC_LIBRARY)

View File

@ -1,3 +1,5 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
# name of the librairy
LOCAL_MODULE := agg
@ -17,16 +19,11 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH) \
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
ifeq ($(DEBUG),1)
LOCAL_CFLAGS := -DAGG_DEBUG_LEVEL=3 \
-DAGG_VERSION_TAG_NAME="\"$(LOCAL_VERSION_TAG_SHORT)-debug\""
else
LOCAL_CFLAGS := -DAGG_DEBUG_LEVEL=3 \
-DAGG_VERSION_TAG_NAME="\"$(LOCAL_VERSION_TAG_SHORT)-release\""
endif
LOCAL_CFLAGS := -DAGG_VERSION_TAG_NAME="\"$(LOCAL_VERSION_TAG_SHORT)-$(BUILD_DIRECTORY_MODE)\""
# load the common sources file of the platform
include $(LOCAL_PATH)/file.mk
LOCAL_SRC_FILES := $(FILE_LIST)
include $(BUILD_STATIC_LIBRARY)

View File

@ -1,9 +1,4 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
# load the common sources file of the platform
include $(LOCAL_PATH)/Generic.mk
LOCAL_CFLAGS += -D__PLATFORM__Linux
include $(BUILD_STATIC_LIBRARY)