Permalink
Browse files

Updated buildfiles.

  • Loading branch information...
1 parent 70fcb9f commit c259dddf175d94e98eff559d57a9a43cf65c3e36 Nicolas Gramlich committed Feb 28, 2012
Showing with 16 additions and 18 deletions.
  1. +7 −5 jni/Android.mk
  2. +0 −6 jni/build.bat
  3. +9 −7 jni/build.sh
  4. BIN libs/x86/libandengine.so
View
@@ -2,10 +2,12 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
-LOCAL_MODULE := andengine
-LOCAL_CFLAGS := -Werror
-LOCAL_SRC_FILES := src/GLES20Fix.c \
- src/BufferUtils.cpp
-LOCAL_LDLIBS := -lGLESv2
+LOCAL_MODULE := andengine_shared
+LOCAL_MODULE_FILENAME := libandengine
+LOCAL_CFLAGS := -Werror
+LOCAL_SRC_FILES := src/GLES20Fix.c \
+ src/BufferUtils.cpp
+LOCAL_LDLIBS := -lGLESv2
+LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/src
include $(BUILD_SHARED_LIBRARY)
View
@@ -1,6 +0,0 @@
-set shdir=%~dp0
-set "shdir=%shdir:\=/%"
-c:
-cd C:\cygwin\bin
-bash --login -i -c '%shdir%build.sh'
-pause
View
@@ -1,13 +1,15 @@
-#! /bin/sh
+#!/bin/bash
-NDK_DIRECTORY="/Users/ngramlich/SDKs/Android/ndk/r6b/"
-PROJECT_DIRECTORY="/Users/ngramlich/Workspace/ZooMobileAndroidClient/AndEngine/"
+NDK_DIRECTORY="/Users/ngramlich/SDKs/Android/ndk/r7b/"
+PROJECT_DIRECTORY="/Users/ngramlich/Workspace/gdk/graphic_engines/AndEngine/AndEngine/"
# Run build:
-cd ${PROJECT_DIRECTORY}
+pushd ${PROJECT_DIRECTORY}
${NDK_DIRECTORY}ndk-build
# Clean temporary files:
-rm -rf ${PROJECT_DIRECTORY}obj
-find . -name gdbserver -print0 | xargs -0 rm -rf
-find . -name gdb.setup -print0 | xargs -0 rm -rf
+# rm -rf ${PROJECT_DIRECTORY}obj
+# find . -name gdbserver -print0 | xargs -0 rm -rf
+# find . -name gdb.setup -print0 | xargs -0 rm -rf
+
+popd
View
Binary file not shown.

0 comments on commit c259ddd

Please sign in to comment.