project_files/Android-build/Templates/complete_build.sh
author nemo
Mon, 09 Jan 2012 00:50:39 -0500
changeset 6553 91365db8b82c
parent 6037 8cdc7bc3e38c
permissions -rwxr-xr-x
Slow down flakes/clouds that are farther away. Also unbreak NTPX w/ SDL 1.2

#! /bin/sh


cd SDL-android-project
${ANDROID_NDK}/ndk-build -j 8
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