diff options
Diffstat (limited to 'keyboard/preonic/Makefile')
-rw-r--r-- | keyboard/preonic/Makefile | 4 |
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 |