ndktest

diff Makefile @ 1:fe78cf853157

fixed the build files
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 24 Apr 2015 03:20:17 +0300
parents 1310df7cdf25
children
line diff
     1.1 --- a/Makefile	Thu Apr 23 20:54:02 2015 +0300
     1.2 +++ b/Makefile	Fri Apr 24 03:20:17 2015 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -android_platform = android-21
     1.5 +android_platform = android-22
     1.6  
     1.7  src = $(wildcard src/*.c)
     1.8  obj = $(src:.c=.o)
     1.9 @@ -25,10 +25,10 @@
    1.10  .PHONY: release
    1.11  release: $(apk-release)
    1.12  
    1.13 -$(apk-debug): $(lib)
    1.14 +$(apk-debug): $(lib) AndroidManifest.xml
    1.15  	ant debug
    1.16  
    1.17 -$(apk-release): $(lib)
    1.18 +$(apk-release): $(lib) AndroidManifest.xml
    1.19  	ant release
    1.20  
    1.21  .PHONY: lib
    1.22 @@ -60,3 +60,7 @@
    1.23  .PHONY: stop
    1.24  stop:
    1.25  	adb shell am force-stop $(pkg)
    1.26 +
    1.27 +.PHONY: update-project
    1.28 +update-project: build.xml
    1.29 +	android update project --path . --target $(android_platform)