diff options
author | QMK Bot <hello@qmk.fm> | 2022-08-03 17:23:55 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-08-03 17:23:55 +0000 |
commit | f326b0b40ec3af51d7052ef5c99fc074442192c3 (patch) | |
tree | dfbcc1571f332f0ae3ca5770839de5c3bb623a3d /users/muppetjones/rules.mk | |
parent | e93124f05c906472bea8e95c49378b4dafc5c0b8 (diff) | |
parent | df8a538489414b1f0c0cdcb786a76cca763ae37a (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'users/muppetjones/rules.mk')
-rw-r--r-- | users/muppetjones/rules.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/users/muppetjones/rules.mk b/users/muppetjones/rules.mk new file mode 100644 index 0000000000..1decc2ed98 --- /dev/null +++ b/users/muppetjones/rules.mk @@ -0,0 +1,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 |