>
> In that case, since it's compiling a C++ file, the variable should be called
> CXX, so changing to
>
> $(CXX) $(CFLAGS) -c cubex.cpp
> and removing the line
> CC=g++
>
> makes it use Sage's variable.
>

It doesn't change much to the problem, but instead of removing the
line
CC = g++
I think you could replace it with
CC ?= g++
which set the compiler to g++ only if CC is not already defined.
http://www.gnu.org/software/make/manual/html_node/Setting.html#Setting

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to