rules.mk 462 B

12345678910111213141516171819202122232425
  1. # Reduce firmware size
  2. # https://thomasbaart.nl/2018/12/01/reducing-firmware-size-in-qmk/
  3. # also requires in config.h
  4. # NO_ACTION_MACRO
  5. # NO_ACTION_FUNCTION
  6. LTO_ENABLE = yes
  7. SRC += muppetjones.c
  8. SRC += features/casemodes.c
  9. ifdef COMBO_ENABLE
  10. SRC += ./features/combos.c
  11. endif
  12. ifdef ENCODER_ENABLE
  13. SRC += ./features/etchamouse.c
  14. endif
  15. ifdef RGBLIGHT_ENABLE
  16. SRC += ./features/rgblayers.c
  17. endif
  18. ifdef TAP_DANCE_ENABLE
  19. SRC += ./features/dancelayers.c
  20. endif