2012-08-15 20:56:16 +02:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
# name of the librairy
|
|
|
|
LOCAL_MODULE := ewol
|
|
|
|
|
|
|
|
# get the tag of the current project :
|
|
|
|
LOCAL_VERSION_TAG=$(shell cd $(LOCAL_PATH) ; git describe --tags)
|
|
|
|
LOCAL_VERSION_TAG_SHORT=$(shell cd $(LOCAL_PATH) ; git describe --tags --abbrev=0)
|
|
|
|
$(info $(LOCAL_MODULE) version TAG : $(LOCAL_VERSION_TAG))
|
|
|
|
|
|
|
|
# name of the dependency
|
2012-08-30 18:32:31 +02:00
|
|
|
LOCAL_LIBRARIES := etk freetype tinyxml libzip libpng parsersvg lua zlib glew
|
2012-08-15 20:56:16 +02:00
|
|
|
|
|
|
|
LOCAL_C_INCLUDES :=
|
|
|
|
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
2012-08-30 18:32:31 +02:00
|
|
|
LOCAL_EXPORT_LDLIBS :=
|
2012-08-15 20:56:16 +02:00
|
|
|
|
|
|
|
LOCAL_CFLAGS := -Wno-write-strings \
|
|
|
|
-DEWOL_VERSION_TAG_NAME="\"$(LOCAL_VERSION_TAG_SHORT)-$(BUILD_DIRECTORY_MODE)\"" \
|
|
|
|
-Wall
|
|
|
|
|
|
|
|
# load the common sources file of the platform
|
|
|
|
include $(LOCAL_PATH)/file.mk
|
|
|
|
|
2012-08-20 16:50:29 +02:00
|
|
|
LOCAL_SRC_FILES := $(FILE_LIST) ewol/os/gui.Windows.cpp
|
2012-08-15 20:56:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|