C++ User's Guide

Using CCFLAGS Within make

When you are using the implicit compilation rules of the makefile (that is, there is no C++ compile line), CCFLAGS is used automatically by the make program.