qmk-dactyl-manuform-a/users/manna-harbour_miryoku/rules.mk

37 lines
826 B
Makefile

# Copyright 2019 Manna Harbour
# https://github.com/manna-harbour/miryoku
# generated -*- buffer-read-only: t -*-
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
AUTO_SHIFT_ENABLE = yes # Auto Shift
SRC += manna-harbour_miryoku.c # keymap
# alternative layouts:
# alphas
ifneq ($(strip $(MIRYOKU_ALPHAS)),)
OPT_DEFS += -DMIRYOKU_ALPHAS_$(MIRYOKU_ALPHAS)
endif
# nav
ifneq ($(strip $(MIRYOKU_NAV)),)
OPT_DEFS += -DMIRYOKU_NAV_$(MIRYOKU_NAV)
endif
# clipboard
ifneq ($(strip $(MIRYOKU_CLIPBOARD)),)
OPT_DEFS += -DMIRYOKU_CLIPBOARD_$(MIRYOKU_CLIPBOARD)
endif
# layers
ifneq ($(strip $(MIRYOKU_LAYERS)),)
OPT_DEFS += -DMIRYOKU_LAYERS_$(MIRYOKU_LAYERS)
endif
# subset mappings
ifneq ($(strip $(MIRYOKU_MAPPING)),)
OPT_DEFS += -DMIRYOKU_MAPPING_$(MIRYOKU_MAPPING)
endif