using  message to detect the name of the Makefile