You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
581 B

  1. SRC += pcoves.c
  2. RAINBOW_UNICORN_ENABLE ?= no
  3. ifneq ($(strip $(RAINBOW_UNICORN_ENABLE)), no)
  4. SRC += rainbowUnicorn.c
  5. OPT_DEFS += -DRAINBOW_UNICORN_ENABLE
  6. endif
  7. ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
  8. SRC += tapDance.c
  9. endif
  10. ifeq ($(strip $(COMBO_ENABLE)), yes)
  11. SRC += combo.c
  12. endif
  13. ifeq ($(strip $(UNICODE_ENABLE)), yes)
  14. SRC += unicode.c
  15. OPT_DEFS += -DUNICODE_ENABLE
  16. endif
  17. ifneq ($(strip $(NO_SECRET)), yes)
  18. ifneq ("$(wildcard $(USER_PATH)/secret.c)","")
  19. SRC += secret.c
  20. else
  21. OPT_DEFS += -DNO_SECRET
  22. endif
  23. else
  24. OPT_DEFS += -DNO_SECRET
  25. endif