Below is the top of my Makefile. On one machine, I have mysql_config5, and another, I have mysql_config. In my .bashrc file of one UNIX machine, I added an alias so that that mysql_config5 is mysql_config, however, when I do make, it doesn't use that environment and I get compile errors, unless I manually change the makefile.
CC := g++
INCLUDES := ${shell mysql_config --include}
LIBS := ${shell mysql_config --libs}
DEBUG := -ggdb3 -Wall
How do I know which shell Make is using? And how can I control the environment variables/commands?
I also apologize if this post belongs in the shell part of the forum, but its relevant to compiling C++ so I thought its also good to post here.