added error for keymap file not existing
This commit is contained in:
parent
dfe7004bc5
commit
c9a096dc99
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue