Yes, that was exactly the problem. I had it in uppercase because the other variables are in uppercase. I should have read the .mak more closely. It's clear now.
Thanks.