Add physac module to android compile instructions...

... and switch from debug build to release
This commit is contained in:
victorfisac 2016-06-08 17:27:55 +02:00
parent f5f5ce0d33
commit 8323f81ab5
2 changed files with 2 additions and 1 deletions

View File

@ -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)/../..

View File

@ -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