Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tweak the Android.mk file

  • Loading branch information...
commit 1f3ce5aeadbc19088c73138b012be11e2e0e675e 1 parent 423e713
@Kazade authored
Showing with 4 additions and 2 deletions.
  1. +3 −2 Android.mk
  2. +1 −0  kazmath/quaternion.c
View
5 Android.mk
@@ -1,5 +1,6 @@
include $(CLEAR_VARS)
-LOCAL_PATH := $(ROOT_PATH)
+LOCAL_PATH := $(ROOT_PATH)/lib/kazmath
LOCAL_MODULE := kazmath
-LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/kazmath/*.c)
+LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(wildcard $(LOCAL_PATH)/kazmath/*.c))
+LOCAL_CFLAGS := "-std=c99"
include $(BUILD_SHARED_LIBRARY)
View
1  kazmath/quaternion.c
@@ -26,6 +26,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <assert.h>
#include <memory.h>
+#include <string.h>
#include "utility.h"
#include "mat3.h"

0 comments on commit 1f3ce5a

Please sign in to comment.
Something went wrong with that request. Please try again.