summaryrefslogtreecommitdiff
path: root/users/ninjonas/rules.mk
blob: 1f2697a0e46afb263e13bb9b92735270724e996b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
BOOTMAGIC_ENABLE = no       # Disable Boot Magic (https://beta.docs.qmk.fm/features/feature_bootmagic)
MOUSEKEY_ENABLE = yes       # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes       # Audio control and System control(+450)
TAP_DANCE_ENABLE = yes      # Enable Tap Dance.

Link_Time_Optimization = no # if firmware size over limit, try this option

ifeq ($(strip $(Link_Time_Optimization)),yes)
    EXTRAFLAGS += -flto -DUSE_Link_Time_Optimization
endif

SRC += ninjonas.c \
       process_records.c \
       tap_dances.c

ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
    SRC += secrets.c
endif