Explorar el Código

Print error when building non-existing keyboard

Fred Sundvik hace 9 años
padre
commit
1ad5578d11
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      Makefile

+ 3 - 0
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