blob: 262cecf45e735e1349c188e82c628f906c562b48 [file] [log] [blame]
@echo off
rem This is a Windows cmd.exe script used to invoke the NDK-specific GNU Make executable
set NDK_ROOT=%~dp0
set NDK_MAKE=%NDK_ROOT%/prebuilt/windows/bin/make.exe
rem Check if %NDK_ROOT% contains space
goto :L
:FOO
if "%2"=="" goto:EOF
echo ERROR: NDK path cannot contain space!
exit /b 1
:L
call :FOO %NDK_ROOT%
if ERRORLEVEL 1 exit /b 1
%NDK_ROOT%\prebuilt\windows\bin\make.exe -f %NDK_ROOT%build/core/build-local.mk SHELL=cmd %*