diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-11-26 15:37:46 -0500 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-11-26 15:38:44 -0500 |
commit | 7edac212c8ed8442bf4207e70dc8194631b2bf27 (patch) | |
tree | fd1905e1a24c237daa0e3e4172fe74f273d6b646 /build_keyboard.mk | |
parent | f25596b8dc2f15f620c07164d871023d9284618c (diff) | |
download | qmk_firmware-7edac212c8ed8442bf4207e70dc8194631b2bf27.tar.gz |
separated into api files/folder
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r-- | build_keyboard.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk index 42f8f8ac7..c1e554003 100644 --- a/build_keyboard.mk +++ b/build_keyboard.mk @@ -131,6 +131,14 @@ ifndef CUSTOM_MATRIX SRC += $(QUANTUM_DIR)/matrix.c endif +ifeq ($(strip $(API_SYSEX_ENABLE)), yes) + OPT_DEFS += -DAPI_SYSEX_ENABLE + SRC += $(QUANTUM_DIR)/api/api_sysex.c + OPT_DEFS += -DAPI_ENABLE + SRC += $(QUANTUM_DIR)/api.c + MIDI_ENABLE=yes +endif + ifeq ($(strip $(MIDI_ENABLE)), yes) OPT_DEFS += -DMIDI_ENABLE SRC += $(QUANTUM_DIR)/process_keycode/process_midi.c |