Add physac module to android compile instructions...
... and switch from debug build to release
This commit is contained in:
parent
f5f5ce0d33
commit
8323f81ab5
@ -47,6 +47,7 @@ LOCAL_SRC_FILES :=\
|
|||||||
../../utils.c \
|
../../utils.c \
|
||||||
../../audio.c \
|
../../audio.c \
|
||||||
../../external/stb_vorbis.c \
|
../../external/stb_vorbis.c \
|
||||||
|
../../physac.c \
|
||||||
|
|
||||||
# Required includes paths (.h)
|
# Required includes paths (.h)
|
||||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/include $(LOCAL_PATH)/../..
|
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/include $(LOCAL_PATH)/../..
|
||||||
|
@ -83,7 +83,7 @@ LOCAL_SRC_FILES := basic_game.c
|
|||||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/include
|
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/include
|
||||||
|
|
||||||
# Required flags for compilation: defines PLATFORM_ANDROID
|
# Required flags for compilation: defines PLATFORM_ANDROID
|
||||||
LOCAL_CFLAGS := -Wall -std=c99 -g -DPLATFORM_ANDROID
|
LOCAL_CFLAGS := -Wall -std=c99 -DPLATFORM_ANDROID
|
||||||
|
|
||||||
# Linker required libraries (not many...)
|
# Linker required libraries (not many...)
|
||||||
LOCAL_LDLIBS := -llog -landroid -lEGL -lGLESv2 -lOpenSLES
|
LOCAL_LDLIBS := -llog -landroid -lEGL -lGLESv2 -lOpenSLES
|
||||||
|
Loading…
Reference in New Issue
Block a user