aboutsummaryrefslogtreecommitdiffstats
path: root/build_json.mk
diff options
context:
space:
mode:
authorGravatar ashtneoi <ashtneoi@gmail.com>2019-12-08 11:00:26 -0800
committerGravatar skullydazed <skullydazed@users.noreply.github.com>2019-12-08 15:13:47 -0800
commit15e5f57952a985d910a9b66a738ee1f71dbfa5c2 (patch)
treeef9bbb0adcf7a1d17c6379e77f7159c670e34dd4 /build_json.mk
parent4b11c2b55257e067d3907ce094614fd779d2217e (diff)
downloadqmk_firmware-15e5f57952a985d910a9b66a738ee1f71dbfa5c2.tar.gz
Add JSON keymap to prereq list of C keymap
This ensures the C keymap is rebuilt when the JSON keymap changes.
Diffstat (limited to 'build_json.mk')
-rw-r--r--build_json.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_json.mk b/build_json.mk
index 3e7dc95c0..e04786144 100644
--- a/build_json.mk
+++ b/build_json.mk
@@ -22,5 +22,5 @@ else ifneq ("$(wildcard $(MAIN_KEYMAP_PATH_1)/keymap.json)","")
endif
# 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)