I have a Makefile, a bash script, and wondering why the $CC variable will not carry over into the bash script when it's defined in the Makefile by default. I'm using the typical thumb drive install of FreeBSD 11 and when running gmake it seems that I have to redefine it in each file. I don't have a global CC variable set up to specify clang++ so what would be a good standard way to set this up that most people would agree upon? Is there a place in the FreeBSD system where this is usually defined for everyone or am I missing something? Sure, there are many ways to accomplish this but I just am interested to know what would be a good way to go about it and make sure its pretty consistent on everybody's system who is running a FreeBSD server.