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

Last change on this file since 738 was 738, checked in by sam, 10 years ago

build: remove duplicate source list in the Android makefiles.

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