source: trunk/monsterz/android/jni/Android.mk @ 1219

Last change on this file since 1219 was 1219, checked in by sam, 8 years ago

android: slightly update Android project for newer SDK versions.

File size: 723 bytes
Line 
1LOCAL_PATH := $(call my-dir)
2
3include $(CLEAR_VARS)
4
5LOL_SRC = ../../../src
6MONSTERZ_SRC = ../..
7
8LOCAL_MODULE := lolengine
9
10LOCAL_CFLAGS := -DDISABLE_IMPORTGL \
11                -DHAVE_GLES_2X \
12                -DHAVE_PTHREAD_H \
13                -I$(LOCAL_PATH)/$(LOL_SRC) \
14                -I$(LOCAL_PATH)/$(MONSTERZ_SRC)
15
16#LOCAL_LDLIBS := -lGLESv1_CM -ldl -llog
17LOCAL_LDLIBS := -lGLESv2 -llog
18
19include $(LOCAL_PATH)/$(LOL_SRC)/Makefile.am
20include $(LOCAL_PATH)/$(MONSTERZ_SRC)/Makefile.am
21LOCAL_SRC_FILES := \
22    $(addprefix $(LOL_SRC)/, $(filter-out %.h, platform/android/androidapp.cpp $(liblol_a_SOURCES))) \
23    $(addprefix $(MONSTERZ_SRC)/, $(filter-out %.h, $(monsterz_SOURCES)))
24
25include $(BUILD_SHARED_LIBRARY)
26
Note: See TracBrowser for help on using the repository browser.