summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/default/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/default/rules.mk')
-rw-r--r--keyboards/planck/keymaps/default/rules.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/planck/keymaps/default/rules.mk b/keyboards/planck/keymaps/default/rules.mk
index dcf16bef39..10751dc952 100644
--- a/keyboards/planck/keymaps/default/rules.mk
+++ b/keyboards/planck/keymaps/default/rules.mk
@@ -1 +1,3 @@
-SRC += muse.c
+ifeq ($(strip $(AUDIO_ENABLE)), yes)
+ SRC += muse.c
+endif