3dphotoshoot

diff android/Makefile @ 2:cf5964db7ff3

finally jni calls fucking work
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 15 May 2015 02:06:26 +0300
parents a4bf2687e406
children 7f6e6eb3d20e
line diff
     1.1 --- a/android/Makefile	Thu May 14 23:46:56 2015 +0300
     1.2 +++ b/android/Makefile	Fri May 15 02:06:26 2015 +0300
     1.3 @@ -8,6 +8,7 @@
     1.4  # ------------------------
     1.5  
     1.6  src += $(wildcard $(root)/src/android/*.c)
     1.7 +jsrc = $(wildcard $(root)/src/android/*.java)
     1.8  
     1.9  obj = $(src:.c=.o) $(ccsrc:.cc=.o)
    1.10  lib = libs/armeabi/lib$(name).so
    1.11 @@ -34,10 +35,10 @@
    1.12  .PHONY: release
    1.13  release: $(apk-release)
    1.14  
    1.15 -$(apk-debug): $(lib) AndroidManifest.xml
    1.16 +$(apk-debug): $(lib) $(jsrc) AndroidManifest.xml
    1.17  	ant debug
    1.18  
    1.19 -$(apk-release): $(lib) AndroidManifest.xml
    1.20 +$(apk-release): $(lib) $(jsrc) AndroidManifest.xml
    1.21  	ant release
    1.22  
    1.23  .PHONY: lib