summaryrefslogtreecommitdiff
path: root/users/replicaJunction/rules.mk
blob: addaa04d97d22d9a845758da5fae584b3131f154 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
SRC += replicaJunction.c

# Only load these source files if the features are enabled. Keyboards can
# enable or disable these features in their own rules.mk files.

ifeq ($(strip $(USER_CAPS_WORD_ENABLE)), yes)
	SRC += features/caps_word.c
    OPT_DEFS += -DUSER_CAPS_WORD_ENABLE
endif

ifeq ($(strip $(USER_MOUSE_JIGGLE_ENABLE)), yes)
	SRC += features/mouse_jiggle.c
    OPT_DEFS += -DUSER_MOUSE_JIGGLE_ENABLE
endif

ifeq ($(strip $(USER_NUM_WORD_ENABLE)), yes)
	SRC += features/num_word.c
    OPT_DEFS += -DUSER_NUM_WORD_ENABLE
endif

ifeq ($(strip $(USER_SECRETS_ENABLE)), yes)
	SRC += features/secrets.c
    OPT_DEFS += -DUSER_SECRETS_ENABLE
endif

ifeq ($(strip $(USER_SUPER_ALT_TAB_ENABLE)), yes)
	SRC += features/super_alt_tab.c
    OPT_DEFS += -DUSER_SUPER_ALT_TAB_ENABLE
endif

# Define these last so any other logic can set up some defines first
SRC += matrix_scan.c \
		process_records.c