From c720bb7c36dfe1b0977fb261a43143e94cb02b6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Wed, 29 Aug 2018 16:23:40 +0200 Subject: [PATCH] [poincare] Makefile: add a compile FLAG POINCARE_TREE_LOG --- poincare/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/poincare/Makefile b/poincare/Makefile index 5dcb7d49e..5a7838ad0 100644 --- a/poincare/Makefile +++ b/poincare/Makefile @@ -303,6 +303,10 @@ objs += poincare/src/expression_debug.o SFLAGS += -DPOINCARE_TESTS_PRINT_EXPRESSIONS=1 endif +ifdef POINCARE_TREE_LOG +SFLAGS += -DPOINCARE_TREE_LOG=1 +endif + # Even though flex and bison will generate both implementation and headers at # once, we don't declare it in the Makefile. If we did, "make -jN" with N>1 may # call bison or flex twice.