[poincare] Makefile: POINCARE_TREE_LOG is by set by default when DEBUG=1

This commit is contained in:
Émilie Feral
2020-05-20 11:40:05 +02:00
parent b596488a01
commit 03367cfdf6

View File

@@ -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