Update vars.mk

This commit is contained in:
2024-05-13 22:40:15 +03:00
committed by GitHub
parent 850d104a1a
commit 105d92e0ca

View File

@@ -28,6 +28,8 @@ OS := $(shell uname)
CUR_DIR := $(shell pwd) CUR_DIR := $(shell pwd)
# NDK config # NDK config
$(shell err() { echo "$1" && exit 1 })
$(shell [ -d ../android-ndk ] || err "error: ndk not found")
NDK_DIR := $(shell cd ../android-ndk && pwd && cd -) NDK_DIR := $(shell cd ../android-ndk && pwd && cd -)
ifeq ($(OS),Linux) ifeq ($(OS),Linux)