aboutsummaryrefslogtreecommitdiff
path: root/users/jonavin/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'users/jonavin/rules.mk')
-rw-r--r--users/jonavin/rules.mk11
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 @@
1SRC += jonavin.c 1SRC += jonavin.c
2ifeq ($(strip $(ENCODER_DEFAULTACTIONS_ENABLE)), yes) 2ifdef 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
4endif 11endif
5ifeq ($(strip $(TD_LSFT_CAPSLOCK_ENABLE)), yes) 12ifeq ($(strip $(TD_LSFT_CAPSLOCK_ENABLE)), yes)
6 OPT_DEFS += -DTD_LSFT_CAPSLOCK_ENABLE 13 OPT_DEFS += -DTD_LSFT_CAPSLOCK_ENABLE