Code Snippet:
target_test : test.cc
$(CXX) $(CPPFLAGS) $(CFLAGS) test.cc
I know that CXX
is a variable (containing the compiler command to call), but I was wondering where this variable comes from. The variable is not defined in the makefile and is not an environment variable. Can anyone explain where the value of CXX
comes from?