You have attempted to generate a Makefile into a directory rather than into a file.
Either type the name of a file into the selection field of the Generate dialog, or select any existing file by browsing the file system using the directory and file lists provided for the purpose.
See also: