summaryrefslogtreecommitdiff
path: root/users/muppetjones/rules.mk
blob: 1decc2ed98b193f02f9c45371e7acbd4a6bdbbe0 (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
# Reduce firmware size
# 	https://thomasbaart.nl/2018/12/01/reducing-firmware-size-in-qmk/
# also requires in config.h
#	NO_ACTION_MACRO
#	NO_ACTION_FUNCTION
LTO_ENABLE = yes

SRC += muppetjones.c
SRC += features/casemodes.c

ifdef COMBO_ENABLE
	SRC += ./features/combos.c
endif

ifdef ENCODER_ENABLE
	SRC += ./features/etchamouse.c
endif

ifdef RGBLIGHT_ENABLE
	SRC += ./features/rgblayers.c
endif

ifdef TAP_DANCE_ENABLE
	SRC += ./features/dancelayers.c
endif