summaryrefslogtreecommitdiff
path: root/users/greatwizard/rules.mk
blob: 92bb4ccd1b16a6a5df33e77bf5c92dfbd32e21e9 (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
SRC += greatwizard.c

ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
    SRC += tap_dances.c
endif

ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
    SRC += underglow.c
endif

ifeq ($(strip $(LAYER_GAME)), yes)
    SRC += game.c
endif

ifeq ($(strip $(LAYER_GIT)), yes)
    SRC += git.c
endif

ifeq ($(strip $(LAYERS_ORTHO)), yes)
    SRC += ortho.c
endif

ifeq ($(strip $(LAYERS_PROGRAMMER)), yes)
    SRC += programmer.c
endif

ifneq ($(PLATFORM),CHIBIOS)
    LTO_ENABLE = yes               # Enable link time optimization
endif

AUTO_SHIFT_ENABLE = yes            # Autoshift by holding down a key