diff options
Diffstat (limited to 'users/replicaJunction/rules.mk')
| -rw-r--r-- | users/replicaJunction/rules.mk | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/users/replicaJunction/rules.mk b/users/replicaJunction/rules.mk index 30a330195..addaa04d9 100644 --- a/users/replicaJunction/rules.mk +++ b/users/replicaJunction/rules.mk | |||
| @@ -1 +1,33 @@ | |||
| 1 | SRC += replicaJunction.c | 1 | SRC += replicaJunction.c |
| 2 | |||
| 3 | # Only load these source files if the features are enabled. Keyboards can | ||
| 4 | # enable or disable these features in their own rules.mk files. | ||
| 5 | |||
| 6 | ifeq ($(strip $(USER_CAPS_WORD_ENABLE)), yes) | ||
| 7 | SRC += features/caps_word.c | ||
| 8 | OPT_DEFS += -DUSER_CAPS_WORD_ENABLE | ||
| 9 | endif | ||
| 10 | |||
| 11 | ifeq ($(strip $(USER_MOUSE_JIGGLE_ENABLE)), yes) | ||
| 12 | SRC += features/mouse_jiggle.c | ||
| 13 | OPT_DEFS += -DUSER_MOUSE_JIGGLE_ENABLE | ||
| 14 | endif | ||
| 15 | |||
| 16 | ifeq ($(strip $(USER_NUM_WORD_ENABLE)), yes) | ||
| 17 | SRC += features/num_word.c | ||
| 18 | OPT_DEFS += -DUSER_NUM_WORD_ENABLE | ||
| 19 | endif | ||
| 20 | |||
| 21 | ifeq ($(strip $(USER_SECRETS_ENABLE)), yes) | ||
| 22 | SRC += features/secrets.c | ||
| 23 | OPT_DEFS += -DUSER_SECRETS_ENABLE | ||
| 24 | endif | ||
| 25 | |||
| 26 | ifeq ($(strip $(USER_SUPER_ALT_TAB_ENABLE)), yes) | ||
| 27 | SRC += features/super_alt_tab.c | ||
| 28 | OPT_DEFS += -DUSER_SUPER_ALT_TAB_ENABLE | ||
| 29 | endif | ||
| 30 | |||
| 31 | # Define these last so any other logic can set up some defines first | ||
| 32 | SRC += matrix_scan.c \ | ||
| 33 | process_records.c | ||
