summaryrefslogtreecommitdiffstats
path: root/keyboard/atomic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/atomic/Makefile')
-rw-r--r--keyboard/atomic/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboard/atomic/Makefile b/keyboard/atomic/Makefile
index f95b2350cd..206b5f119c 100644
--- a/keyboard/atomic/Makefile
+++ b/keyboard/atomic/Makefile
@@ -136,4 +136,11 @@ VPATH += $(TARGET_DIR)
VPATH += $(TOP_DIR)
VPATH += $(TMK_DIR)
+debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION
+debug-on: all
+
+debug-off: EXTRAFLAGS += -DNO_DEBUG -DNO_PRINT
+debug-off: OPT_DEFS := $(filter-out -DCONSOLE_ENABLE,$(OPT_DEFS))
+debug-off: all
+
include $(TOP_DIR)/quantum/quantum.mk