From 8323f81ab598d9a9e6720e55eb7269e410f10d2e Mon Sep 17 00:00:00 2001 From: victorfisac <victorfisac@gmail.com> Date: Wed, 8 Jun 2016 17:27:55 +0200 Subject: [PATCH] Add physac module to android compile instructions... ... and switch from debug build to release --- src/android/jni/Android.mk | 1 + templates/android_project/jni/Android.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/android/jni/Android.mk b/src/android/jni/Android.mk index 66851d088..819ca79dc 100644 --- a/src/android/jni/Android.mk +++ b/src/android/jni/Android.mk @@ -47,6 +47,7 @@ LOCAL_SRC_FILES :=\ ../../utils.c \ ../../audio.c \ ../../external/stb_vorbis.c \ + ../../physac.c \ # Required includes paths (.h) LOCAL_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/include $(LOCAL_PATH)/../.. diff --git a/templates/android_project/jni/Android.mk b/templates/android_project/jni/Android.mk index fe4ba813b..15a21695d 100644 --- a/templates/android_project/jni/Android.mk +++ b/templates/android_project/jni/Android.mk @@ -83,7 +83,7 @@ LOCAL_SRC_FILES := basic_game.c LOCAL_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/include # 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...) LOCAL_LDLIBS := -llog -landroid -lEGL -lGLESv2 -lOpenSLES