diff --git a/Makefile b/Makefile index 0ba2e1f..d6a22f7 100644 --- a/Makefile +++ b/Makefile @@ -87,6 +87,7 @@ EXTRA_FILES = Makefile C++ = g++ CC = gcc +XXD := $(shell command -v xxd) STORE = build/$(TYPE) SOURCE := $(foreach DIR,$(DIRS),$(wildcard $(DIR)/*.cpp)) @@ -166,6 +167,9 @@ endif ifndef PKG_LIBS $(error Missing dependencies) endif +ifndef XXD + $(error Command xxd not found) +endif -include $(DFILES) -include $(CDFILES)