From 03367cfdf6fb8ce36d1f11e053b76cc50f8b302d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Wed, 20 May 2020 11:40:05 +0200 Subject: [PATCH] [poincare] Makefile: POINCARE_TREE_LOG is by set by default when DEBUG=1 --- poincare/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/poincare/Makefile b/poincare/Makefile index 69dfcd8f5..1cf6c7752 100644 --- a/poincare/Makefile +++ b/poincare/Makefile @@ -184,6 +184,10 @@ tests_src += $(addprefix poincare/test/,\ simplification.cpp\ ) +ifeq ($(DEBUG),1) +POINCARE_TREE_LOG ?= 1 +endif + ifdef POINCARE_TREE_LOG SFLAGS += -DPOINCARE_TREE_LOG=1 endif