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

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

android: use stlport on Android so we don't have to depend on a crippled
implementation on any platform.

File size: 691 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, $(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.