summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-08-07 18:15:45 +0300
committerFred Sundvik <fsundvik@gmail.com>2016-08-20 03:56:20 +0300
commit1ad5578d11b0b4a7288c3fd0748de3a57f4180f2 (patch)
tree2277783e2662c208798be6f5a51355a9ce11766f /Makefile
parenta6d35000241e20df32b34498a3a9622bde6f0062 (diff)
Print error when building non-existing keyboard
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a9a2d98fcb..623e4b064d 100644
--- a/Makefile
+++ b/Makefile
@@ -104,6 +104,9 @@ define PARSE_RULE
$$(eval $$(call PARSE_ALL_KEYBOARDS))
else ifeq ($$(call TRY_TO_MATCH_RULE_FROM_LIST,$$(KEYBOARDS)),true)
$$(eval $$(call PARSE_KEYBOARD,$$(MATCHED_ITEM)))
+ else
+ $$(info make: *** No rule to make target '$1'. Stop.)
+ exit 1
endif
endef