add xxd check

This commit is contained in:
Jethro Grassie 2019-04-16 00:08:54 -04:00
parent e8383c73e6
commit c2eb64b67f
No known key found for this signature in database
GPG key ID: DE8ED755616565BB

View file

@ -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)