diff options
Diffstat (limited to 'users/jonavin/rules.mk')
-rw-r--r-- | users/jonavin/rules.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/users/jonavin/rules.mk b/users/jonavin/rules.mk index 646002124..4f65db27b 100644 --- a/users/jonavin/rules.mk +++ b/users/jonavin/rules.mk | |||
@@ -1,6 +1,13 @@ | |||
1 | SRC += jonavin.c | 1 | SRC += jonavin.c |
2 | ifeq ($(strip $(ENCODER_DEFAULTACTIONS_ENABLE)), yes) | 2 | ifdef ENCODER_ENABLE |
3 | OPT_DEFS += -DENCODER_DEFAULTACTIONS_ENABLE | 3 | # include encoder related code when enabled |
4 | ifeq ($(strip $(ENCODER_DEFAULTACTIONS_ENABLE)), yes) | ||
5 | OPT_DEFS += -DENCODER_DEFAULTACTIONS_ENABLE | ||
6 | endif | ||
7 | ifeq ($(strip $(ALTTAB_SCROLL_ENABLE)), yes) | ||
8 | OPT_DEFS += -DALTTAB_SCROLL_ENABLE | ||
9 | endif | ||
10 | SRC += jonavin_encoder.c | ||
4 | endif | 11 | endif |
5 | ifeq ($(strip $(TD_LSFT_CAPSLOCK_ENABLE)), yes) | 12 | ifeq ($(strip $(TD_LSFT_CAPSLOCK_ENABLE)), yes) |
6 | OPT_DEFS += -DTD_LSFT_CAPSLOCK_ENABLE | 13 | OPT_DEFS += -DTD_LSFT_CAPSLOCK_ENABLE |