branch | hedgeroid |
changeset 7855 | ddcdedd3330b |
parent 6350 | 41b0a9955c47 |
parent 7854 | 0b447175594f |
child 7857 | 2bc61f8841a1 |
6350:41b0a9955c47 | 7855:ddcdedd3330b |
---|---|
1 #! /bin/sh |
|
2 |
|
3 |
|
4 cd SDL-android-project |
|
5 ${ANDROID_NDK}/ndk-build -j 8 |
|
6 if [ $? -ne 0 ] |
|
7 then |
|
8 echo "Failed to execute ${ANDROID_NDK}/ndk-build" |
|
9 exit 1 |
|
10 fi |
|
11 |
|
12 cd .. |
|
13 make -f Makefile.android |
|
14 if [ $? -ne 0 ] |
|
15 then |
|
16 echo "Failed to execute make" |
|
17 exit 1 |
|
18 fi |
|
19 |
|
20 cd SDL-android-project |
|
21 ant install |
|
22 if [ $? -ne 0 ] |
|
23 then |
|
24 echo "Failed to execute ant install" |
|
25 exit 1 |
|
26 fi |
|
27 exit 0 |