X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/7375c789e1b85ef5eb280339559c0cc9ae8f3b87..e9bf4bc84e66fa86d804ad1dbdede9bbd83c7a44:/LUFA/Build/lufa_hid.mk diff --git a/LUFA/Build/lufa_hid.mk b/LUFA/Build/lufa_hid.mk index f0e4f45de..a5a742deb 100644 --- a/LUFA/Build/lufa_hid.mk +++ b/LUFA/Build/lufa_hid.mk @@ -1,6 +1,6 @@ # # LUFA Library -# Copyright (C) Dean Camera, 2012. +# Copyright (C) Dean Camera, 2013. # # dean [at] fourwalledcubicle [dot] com # www.lufa-lib.org @@ -50,6 +50,8 @@ LUFA_BUILD_PROVIDED_MACROS += # # ----------------------------------------------------------------------------- +SHELL = /bin/sh + ERROR_IF_UNSET ?= $(if $(filter undefined, $(origin $(strip $(1)))), $(error Makefile $(strip $(1)) value not set)) ERROR_IF_EMPTY ?= $(if $(strip $($(strip $(1)))), , $(error Makefile $(strip $(1)) option cannot be blank)) ERROR_IF_NONBOOL ?= $(if $(filter Y N, $($(strip $(1)))), , $(error Makefile $(strip $(1)) option must be Y or N))