forked from yquake2/yquake2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Android_gl3.mk
63 lines (44 loc) · 1.7 KB
/
Android_gl3.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := yquake2_gl3
LOCAL_CFLAGS := -DYQ2_GL3_GLES -DYQ2_GL3_GLES3 -DIOAPI_NO_64 -DYQ2OSTYPE=\"Linux\" -DYQ2ARCH=\"Arm\"
BASE_DIR := engine
LOCAL_C_INCLUDES := $(SDL_INCLUDE_PATHS) \
$(TOP_DIR) \
$(TOP_DIR)/MobileTouchControls \
$(TOP_DIR)/Clibs_OpenTouch \
$(TOP_DIR)/Clibs_OpenTouch/jpeg8d \
$(TOP_DIR)/Clibs_OpenTouch/freetype2-android/include \
$(TOP_DIR)/Clibs_OpenTouch/quake \
$(LOCAL_PATH)/src/client/refresh/gl3/glad-gles3/include \
# ----------
REFGL3_OBJS_ := \
src/client/refresh/gl3/gl3_draw.o \
src/client/refresh/gl3/gl3_image.o \
src/client/refresh/gl3/gl3_light.o \
src/client/refresh/gl3/gl3_lightmap.o \
src/client/refresh/gl3/gl3_main.o \
src/client/refresh/gl3/gl3_mesh.o \
src/client/refresh/gl3/gl3_misc.o \
src/client/refresh/gl3/gl3_model.o \
src/client/refresh/gl3/gl3_sdl.o \
src/client/refresh/gl3/gl3_surf.o \
src/client/refresh/gl3/gl3_warp.o \
src/client/refresh/gl3/gl3_shaders.o \
src/client/refresh/gl3/glad-gles3/src/glad.o \
src/client/refresh/files/pcx.o \
src/client/refresh/files/stb.o \
src/client/refresh/files/wal.o \
src/client/refresh/files/pvs.o \
src/client/refresh/files/models.o \
src/common/shared/shared.o \
src/common/md4.o
REFGL3_OBJS_ += \
src/backends/unix/shared/hunk.o
# ----------
LOCAL_SRC_FILES := $(REFGL3_OBJS_:.o=.c) \
LOCAL_LDLIBS := -lEGL -ldl -llog -lz
LOCAL_STATIC_LIBRARIES := sigc libzip libpng logwritter
LOCAL_SHARED_LIBRARIES := touchcontrols SDL2 SDL2_mixer
include $(BUILD_SHARED_LIBRARY)
include