project_files/Android-build/Templates/complete_build.sh
author Xeli
Fri, 26 Aug 2011 21:03:23 +0200
branchhedgeroid
changeset 5663 b13d1897d06f
parent 5381 8f95038f3f75
child 6037 8cdc7bc3e38c
permissions -rwxr-xr-x
Made getDownloadPath compatible with < Froyo devices

#! /bin/sh


cd SDL-android-project
${ANDROID_NDK}/ndk-build
if [ $? -ne 0 ] 
then 
  echo "Failed to execute ${ANDROID_NDK}/ndk-build"
  exit 1
fi

cd ..
make -f Makefile.android
if [ $? -ne 0 ] 
then 
  echo "Failed to execute make"
  exit 1
fi

cd SDL-android-project
ant install
if [ $? -ne 0 ] 
then 
  echo "Failed to execute ant install"
  exit 1
fi
exit 0