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

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

core: create a logger class to reduce printf usage.

File size: 1.5 KB
Line 
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
19LOCAL_SRC_FILES := \
20    $(LOL_SRC)/androidapp.cpp \
21    $(LOL_SRC)/audio.cpp \
22    $(LOL_SRC)/debugfps.cpp \
23    $(LOL_SRC)/debugquad.cpp \
24    $(LOL_SRC)/debugrecord.cpp \
25    $(LOL_SRC)/debugsphere.cpp \
26    $(LOL_SRC)/debugstats.cpp \
27    $(LOL_SRC)/dict.cpp \
28    $(LOL_SRC)/emitter.cpp \
29    $(LOL_SRC)/entity.cpp \
30    $(LOL_SRC)/font.cpp \
31    $(LOL_SRC)/forge.cpp \
32    $(LOL_SRC)/hash.cpp \
33    $(LOL_SRC)/image.cpp \
34    $(LOL_SRC)/input.cpp \
35    $(LOL_SRC)/layer.cpp \
36    $(LOL_SRC)/log.cpp \
37    $(LOL_SRC)/map.cpp \
38    $(LOL_SRC)/matrix.cpp \
39    $(LOL_SRC)/profiler.cpp \
40    $(LOL_SRC)/sample.cpp \
41    $(LOL_SRC)/sampler.cpp \
42    $(LOL_SRC)/scene.cpp \
43    $(LOL_SRC)/shader.cpp \
44    $(LOL_SRC)/text.cpp \
45    $(LOL_SRC)/ticker.cpp \
46    $(LOL_SRC)/tiler.cpp \
47    $(LOL_SRC)/tileset.cpp \
48    $(LOL_SRC)/timer.cpp \
49    $(LOL_SRC)/video.cpp \
50    $(LOL_SRC)/world.cpp \
51    $(LOL_SRC)/worldentity.cpp \
52    \
53    $(MONSTERZ_SRC)/board.cpp \
54    $(MONSTERZ_SRC)/interface.cpp \
55    $(MONSTERZ_SRC)/mash.cpp \
56    $(MONSTERZ_SRC)/piece.cpp \
57    $(MONSTERZ_SRC)/thumbs.cpp \
58    $(MONSTERZ_SRC)/title.cpp \
59    $(NULL)
60
61include $(BUILD_SHARED_LIBRARY)
62
Note: See TracBrowser for help on using the repository browser.