Tristan Matthews | ccf51e3 | 2013-07-18 14:40:51 -0400 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
Tristan Matthews | 5bb1b5d | 2013-07-18 14:32:58 -0400 | [diff] [blame] | 3 | APP=bin/SFLPhoneHome-debug.apk |
Tristan Matthews | 322b9fd | 2013-07-18 15:55:43 -0400 | [diff] [blame] | 4 | all: local.properties |
Tristan Matthews | 5bb1b5d | 2013-07-18 14:32:58 -0400 | [diff] [blame] | 5 | ndk-build -C jni -j4 |
6 | ant debug | ||||
7 | |||||
Tristan Matthews | 322b9fd | 2013-07-18 15:55:43 -0400 | [diff] [blame] | 8 | local.properties: |
9 | android update project -p . | ||||
10 | |||||
Tristan Matthews | 5bb1b5d | 2013-07-18 14:32:58 -0400 | [diff] [blame] | 11 | # You may want to specify a device with -s SERIAL NUMBER |
12 | install: $(APP) | ||||
13 | adb install -r $^ | ||||
14 | |||||
Tristan Matthews | fdd94e5 | 2013-07-19 16:44:44 -0400 | [diff] [blame] | 15 | uninstall: |
Alexandre Lision | 064e1e0 | 2013-10-01 16:18:42 -0400 | [diff] [blame] | 16 | adb uninstall org.sflphone |
Tristan Matthews | fdd94e5 | 2013-07-19 16:44:44 -0400 | [diff] [blame] | 17 | |
Tristan Matthews | 5bb1b5d | 2013-07-18 14:32:58 -0400 | [diff] [blame] | 18 | clean: |
Tristan Matthews | 02034c0 | 2013-07-24 14:10:39 -0400 | [diff] [blame] | 19 | ant clean |
20 | rm -rf obj $(APP) |