0

Possible Duplicate:
Where does the value of CXX in a makefile come from?

I'm currently working on a makefile of a legacy project. The project build successfully with the Makefile.

While inspecting the Makefile, I noticed that it uses ${CXX} macro to call the compiler. However, the CXX is not defined in the makefile, and there's no includes of other makefiles.

I tried to see if CXX is an environmental variable, it is not.

Is there a default value for CXX ?

Community
  • 1
  • 1
stdcall
  • 27,613
  • 18
  • 81
  • 125

1 Answers1

4

It's in the manual:

CXX
    Program for compiling C++ programs; default ‘g++’. 
Paul R
  • 208,748
  • 37
  • 389
  • 560