added error for keymap file not existing

pull/104/head
Jack Humbert 9 years ago
parent dfe7004bc5
commit c9a096dc99

@ -57,7 +57,11 @@ ifdef KEYMAP
ifneq ("$(wildcard keymaps/$(KEYMAP).c)","")
KEYMAP_FILE = keymaps/$(KEYMAP).c
else
ifneq ("$(wildcard keymaps/$(KEYMAP)/default.c)","")
KEYMAP_FILE = keymaps/$(KEYMAP)/default.c
else
$(error Keymap file does not exist)
endif
endif
else
ifneq ("$(wildcard keymaps/default.c)","")

Loading…
Cancel
Save