在线笔记
全部博文(596)
分类: C/C++
2013-08-01 09:26:17
CPPFLAGS is supposed to be for flags for the C PreProcessor; CXXFLAGS is for flags for the C++ compiler.
The default rules in make (on my machine, at any rate) pass CPPFLAGS to just about everything,CFLAGS is only passed when compiling and linking C, and CXXFLAGS is only passed when compiling and linking C++