rules.mk 589 B

12345678910111213141516171819202122232425262728293031
  1. SRC += greatwizard.c
  2. ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
  3. SRC += tap_dances.c
  4. endif
  5. ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
  6. SRC += underglow.c
  7. endif
  8. ifeq ($(strip $(LAYER_GAME)), yes)
  9. SRC += game.c
  10. endif
  11. ifeq ($(strip $(LAYER_GIT)), yes)
  12. SRC += git.c
  13. endif
  14. ifeq ($(strip $(LAYERS_ORTHO)), yes)
  15. SRC += ortho.c
  16. endif
  17. ifeq ($(strip $(LAYERS_PROGRAMMER)), yes)
  18. SRC += programmer.c
  19. endif
  20. ifneq ($(PLATFORM),CHIBIOS)
  21. LTO_ENABLE = yes # Enable link time optimization
  22. endif
  23. AUTO_SHIFT_ENABLE = yes # Autoshift by holding down a key