summaryrefslogtreecommitdiff
path: root/users/manna-harbour_miryoku/post_rules.mk
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-07-02 11:26:57 +0000
committerQMK Bot <hello@qmk.fm>2022-07-02 11:26:57 +0000
commita949d32072e277150508590d048d5dfcba8083bd (patch)
treea5fbd12a469d2f57b5c6722f1d1cedcd1c940bcc /users/manna-harbour_miryoku/post_rules.mk
parent5d8b6847c7baaa12b76d5fea1eb93bdbf128946e (diff)
parent3842b15cf136a6edd4e6491abb3b9a85dbd5867f (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'users/manna-harbour_miryoku/post_rules.mk')
-rw-r--r--users/manna-harbour_miryoku/post_rules.mk39
1 files changed, 39 insertions, 0 deletions
diff --git a/users/manna-harbour_miryoku/post_rules.mk b/users/manna-harbour_miryoku/post_rules.mk
new file mode 100644
index 0000000000..c5b4b7d28e
--- /dev/null
+++ b/users/manna-harbour_miryoku/post_rules.mk
@@ -0,0 +1,39 @@
+# Copyright 2019 Manna Harbour
+# https://github.com/manna-harbour/miryoku
+
+SRC += manna-harbour_miryoku.c # keymaps
+
+# 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
+
+# kludges:
+
+# thumb combos
+ifeq ($(strip $(MIRYOKU_KLUDGE_THUMBCOMBOS)),yes)
+ COMBO_ENABLE = yes
+ OPT_DEFS += -DMIRYOKU_KLUDGE_THUMBCOMBOS
+endif