@echo off

cls

@set "DIR=%cd%"
@REM ... use paths relative to current directory
@set "APP_ROOT=%DIR%/.."
@set "APP_ANDROID_ROOT=%DIR%"

@echo %time%
@echo NDK_ROOT = %ANDROID_NDK_HOME%
@echo APP_ROOT = %APP_ROOT%
@echo APP_ANDROID_ROOT = %APP_ANDROID_ROOT%
@echo Using prebuilt externals

rem rd  /S /Q   libs
rem rd  /S /Q   obj -j16

del s:\libHero.so

call ndk-build.cmd -j 1
