1@echo off
2rem This is a Windows cmd.exe script used to invoke the NDK-specific GNU Make executable
3set NDK_ROOT=%~dp0
4set NDK_MAKE=%NDK_ROOT%/prebuilt/windows/bin/make.exe
5
6rem Check if %NDK_ROOT% contains space
7goto :L
8:FOO
9  if "%~2"=="" goto:EOF
10  echo ERROR: NDK path cannot contain space!
11  exit /b 1
12
13:L
14call :FOO %NDK_ROOT%
15if ERRORLEVEL 1 exit /b 1
16
17%NDK_ROOT%\prebuilt\windows\bin\make.exe -f %NDK_ROOT%build/core/build-local.mk SHELL=cmd %*
18