mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
Fix the build
Change-Id: I17bb89c51b1d4231a3cec3b91b453583e872d1b2
This commit is contained in:
@@ -42,9 +42,10 @@ tests += $(addprefix poincare/test/,\
|
||||
subtraction.cpp\
|
||||
)
|
||||
|
||||
# We won't use this very often but the linker should be smart enough to just
|
||||
# remove it if we don't use it.
|
||||
ifdef POINCARE_TESTS_PRINT_EXPRESSIONS
|
||||
tests += poincare/src/expression_debug.o
|
||||
SFLAGS += -DPOINCARE_TESTS_PRINT_EXPRESSIONS=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
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
#include <poincare.h>
|
||||
#include <assert.h>
|
||||
|
||||
#define DUMP_EXPRESSIONS_TO_STD_OUT 1
|
||||
#if DUMP_EXPRESSIONS_TO_STD_OUT
|
||||
#if POINCARE_TESTS_PRINT_EXPRESSIONS
|
||||
#include "../src/expression_debug.h"
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
Reference in New Issue
Block a user