post_rules.mk 905 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Copyright 2022 Manna Harbour
  2. # https://github.com/manna-harbour/miryoku
  3. # alternative layout options
  4. ifneq ($(strip $(MIRYOKU_ALPHAS)),)
  5. OPT_DEFS += -DMIRYOKU_ALPHAS_$(MIRYOKU_ALPHAS)
  6. endif
  7. ifneq ($(strip $(MIRYOKU_EXTRA)),)
  8. OPT_DEFS += -DMIRYOKU_EXTRA_$(MIRYOKU_EXTRA)
  9. endif
  10. ifneq ($(strip $(MIRYOKU_TAP)),)
  11. OPT_DEFS += -DMIRYOKU_TAP_$(MIRYOKU_TAP)
  12. endif
  13. ifneq ($(strip $(MIRYOKU_NAV)),)
  14. OPT_DEFS += -DMIRYOKU_NAV_$(MIRYOKU_NAV)
  15. endif
  16. ifneq ($(strip $(MIRYOKU_CLIPBOARD)),)
  17. OPT_DEFS += -DMIRYOKU_CLIPBOARD_$(MIRYOKU_CLIPBOARD)
  18. endif
  19. ifneq ($(strip $(MIRYOKU_LAYERS)),)
  20. OPT_DEFS += -DMIRYOKU_LAYERS_$(MIRYOKU_LAYERS)
  21. endif
  22. # subset mappings
  23. ifneq ($(strip $(MIRYOKU_MAPPING)),)
  24. OPT_DEFS += -DMIRYOKU_MAPPING_$(MIRYOKU_MAPPING)
  25. endif
  26. # kludges
  27. # thumb combos
  28. ifeq ($(strip $(MIRYOKU_KLUDGE_THUMBCOMBOS)),yes)
  29. COMBO_ENABLE = yes
  30. OPT_DEFS += -DMIRYOKU_KLUDGE_THUMBCOMBOS
  31. endif