summaryrefslogtreecommitdiff
path: root/keyboard/preonic/Makefile
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-08-25 12:30:32 -0400
committerJack Humbert <jack.humb@gmail.com>2015-08-25 12:30:32 -0400
commite6dd47db453968271dcd5e89c62c5258796511bc (patch)
treed9b0da85933a45693227837e24d05cd44e416129 /keyboard/preonic/Makefile
parentcda23c754e4d16438e2b42d86b4ce9a1eadc03d7 (diff)
downloadqmk_firmware-e6dd47db453968271dcd5e89c62c5258796511bc.tar.gz
qmk_firmware-e6dd47db453968271dcd5e89c62c5258796511bc.zip
good enough for a preview
Diffstat (limited to 'keyboard/preonic/Makefile')
-rw-r--r--keyboard/preonic/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboard/preonic/Makefile b/keyboard/preonic/Makefile
index 5eb45fe1cb..40bd36aecf 100644
--- a/keyboard/preonic/Makefile
+++ b/keyboard/preonic/Makefile
@@ -126,6 +126,10 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
MIDI_ENABLE = yes # MIDI controls
BACKLIGHT_ENABLE = yes
+ifdef MIDI_ENABLE
+ SRC += keymap_midi.c
+endif
+
# Optimize size but this may cause error "relocation truncated to fit"
#EXTRALDFLAGS = -Wl,--relax