summaryrefslogtreecommitdiff
path: root/users/stanrc85/rules.mk
blob: 141b4581a448fda08aceacdaf3d33c2af960c537 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
TAP_DANCE_ENABLE = yes
EXTRAKEY_ENABLE = yes
BACKLIGHT_ENABLE = no
COMMAND_ENABLE = no
MOUSEKEY_ENABLE = no
AUDIO_ENABLE = no
CONSOLE_ENABLE = no
NKRO_ENABLE = yes
LTO_ENABLE = yes
VIA_ENABLE = yes

SRC += stanrc85.c

ifeq ($(strip $(KEYBOARD)), projectkb/alice/rev2)
  SRC += rgblight_layers.c
  SRC += startup_fanfare.c
  OPT_DEFS += -DHAS_INDICATORS
  VELOCIKEY_ENABLE=yes
endif
ifeq ($(strip $(KEYBOARD)), sneakbox/aliceclone)
  SRC += indicator_layers_sneakbox.c
  SRC += startup_fanfare.c
  OPT_DEFS += -DHAS_INDICATORS
  OPT_DEFS += -DHAS_ROTARY
endif
ifeq ($(strip $(KEYBOARD)), tkc/osav2)
  SRC += rgblight_layers_osa.c
  VELOCIKEY_ENABLE=yes
  SRC += rgb_timeout.c
endif
ifeq ($(strip $(KEYBOARD)), jacky_studio/bear_65)
  BACKLIGHT_ENABLE = yes
  RGB_MATRIX_ENABLE = yes
  RGBLIGHT_ENABLE = no
  SRC += rgb_layers.c
endif
ifeq ($(strip $(KEYBOARD)), mechlovin/adelais/rgb_led/rev2)
  SRC += rgb_layers.c
  SRC += rgb_timeout.c
endif
ifeq ($(strip $(KEYBOARD)), mechlovin/adelais/standard_led/arm/rev4/stm32f303)
  OPT_DEFS += -DHAS_INDICATORS
  SRC += rgb_timeout.c
  SRC += indicator_layers_sneakbox.c
endif
ifeq ($(strip $(KEYBOARD)), nasu)
  SRC += indicator_layers_sneakbox.c
  SRC += startup_fanfare.c
  OPT_DEFS += -DHAS_INDICATORS
endif
ifeq ($(strip $(KEYBOARD)), mechlovin/adelais/standard_led/arm/rev4/apm32f103)
  OPT_DEFS += -DHAS_INDICATORS
  SRC += rgb_timeout.c
  SRC += indicator_layers_sneakbox.c
endif