From e6dd47db453968271dcd5e89c62c5258796511bc Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Tue, 25 Aug 2015 12:30:32 -0400 Subject: good enough for a preview --- keyboard/preonic/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'keyboard/preonic/Makefile') 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 -- cgit v1.2.3