diff --git a/Makefile b/Makefile index 4c517004..e21018b5 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,7 @@ +ifneq ($(TARGET),) +BOLOS_SDK = $(value $(shell echo $(TARGET) | tr '[:lower:]' '[:upper:]')_SDK) +endif + ifeq ($(BOLOS_SDK),) $(error Environment variable BOLOS_SDK is not set) endif