istereo2

diff android/Makefile @ 25:a9f2d30f7e8e

First hack at implementing banners on android. JNI interface to hide/show ads with the menu remains to be done.
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 05 Oct 2015 06:00:16 +0300
parents 9d53a4938ce8
children 64ca672a79dc
line diff
     1.1 --- a/android/Makefile	Sun Oct 04 08:15:24 2015 +0300
     1.2 +++ b/android/Makefile	Mon Oct 05 06:00:16 2015 +0300
     1.3 @@ -1,4 +1,5 @@
     1.4  bin = stereotunnel
     1.5 +title = Stereoscopic Tunnel
     1.6  root = ..
     1.7  src = $(wildcard $(root)/src/*.c)
     1.8  ccsrc = $(wildcard $(root)/src/*.cc)
     1.9 @@ -97,11 +98,12 @@
    1.10  	android create project -p . -t $(android_platform) -k $(pkg) -a NativeActivity -n $(name)
    1.11  	cat manifest.xml.in | sed 's/$$APPNAME/$(name)/g' | sed 's/$$APPTITLE/$(title)/g' >$@
    1.12  	cd src && rm -f *.java && ln -s ../../src/android/*.java .
    1.13 +	$(MAKE) update-project
    1.14  
    1.15  .PHONY: update-project
    1.16  update-project: build.xml
    1.17 -	android update project -p . -t $(android_platform)
    1.18 +	android update project -p . -t $(android_platform) --library google-play-services_lib --subprojects
    1.19  
    1.20  .PHONY: logcat
    1.21  logcat:
    1.22 -	adb logcat $(name):V AndroidRuntime:V DEBUG:V '*:S'
    1.23 +	adb logcat $(name):V AndroidRuntime:V DEBUG:V Ads:V '*:S'