Add JSON keymap to prereq list of C keymap

This ensures the C keymap is rebuilt when the JSON keymap changes.
This commit is contained in:
ashtneoi 2019-12-08 11:00:26 -08:00 committed by skullydazed
parent 4b11c2b552
commit 15e5f57952

View file

@ -22,5 +22,5 @@ else ifneq ("$(wildcard $(MAIN_KEYMAP_PATH_1)/keymap.json)","")
endif endif
# Generate the keymap.c # Generate the keymap.c
$(KEYBOARD_OUTPUT)/src/keymap.c: $(KEYBOARD_OUTPUT)/src/keymap.c: $(KEYMAP_JSON)
bin/qmk json-keymap --quiet --output $(KEYMAP_C) $(KEYMAP_JSON) bin/qmk json-keymap --quiet --output $(KEYMAP_C) $(KEYMAP_JSON)