X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=tmk_core%2Fcommon.mk;h=090bbe6e373ffac5193b1b575b7c0488304acdb2;hb=47775af20671e347e7e5545f63b42a51f0a4df04;hp=a38ff081ddd6937a3b94a7f27a5d16d0d0c4164e;hpb=8449ad385bf86a8525bdd3ddec0c0e1840ab32a8;p=max%2Ftmk_keyboard.git diff --git a/tmk_core/common.mk b/tmk_core/common.mk index a38ff081..090bbe6e 100644 --- a/tmk_core/common.mk +++ b/tmk_core/common.mk @@ -58,6 +58,14 @@ else endif endif +ifeq (yes,$(strip $(NO_DEBUG))) + OPT_DEFS += -DNO_DEBUG +endif + +ifeq (yes,$(strip $(NO_PRINT))) + OPT_DEFS += -DNO_PRINT +endif + ifeq (yes,$(strip $(COMMAND_ENABLE))) SRC += $(COMMON_DIR)/command.c OPT_DEFS += -DCOMMAND_ENABLE