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

Last change on this file since 939 was 939, checked in by sam, 9 years ago

build: stop defining ANDROID_NDK and check for ANDROID instead.

According to David Turner, “it should be the only thing that NDK users
should be testing again.”

File size: 688 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                -I$(LOCAL_PATH)/$(LOL_SRC) \
13                -I$(LOCAL_PATH)/$(MONSTERZ_SRC)
14
15#LOCAL_LDLIBS := -lGLESv1_CM -ldl -llog
16LOCAL_LDLIBS := -lGLESv2 -llog
17
18include $(LOCAL_PATH)/$(LOL_SRC)/Makefile.am
19include $(LOCAL_PATH)/$(MONSTERZ_SRC)/Makefile.am
20LOCAL_SRC_FILES := \
21    $(addprefix $(LOL_SRC)/, $(filter-out %.h, platform/android/androidapp.cpp $(liblol_a_SOURCES))) \
22    $(addprefix $(MONSTERZ_SRC)/, $(filter-out %.h, $(monsterz_SOURCES)))
23
24include $(BUILD_SHARED_LIBRARY)
25
Note: See TracBrowser for help on using the repository browser.