Makefile variables are referenced as shell variables using $$ so they are not propagated when starting the script.