ifneq ($(or $(ENABLE_IOS),$(ENABLE_MAC),$(ENABLE_MACCAT)),) CheckXcodeDir=$(or $(and $(wildcard $(1))),$(warning Could not find Xcode in "$(1)")) ifeq ($(call CheckXcodeDir,$(XCODE_DIR)),) $(error Could not find Xcode at $(XCODE_DIR)) endif endif ifdef ENABLE_ANDROID ANDROID_TOOLCHAIN_DIR?=$(HOME)/android-toolchain ANDROID_TOOLCHAIN_CACHE_DIR?=$(HOME)/android-archives endif