Command not found when ./Makefile is executed

I run ./Makefile but then I got messages:

./Makefile line xx: EXECUTABLE: command not found
CUFILES
and CCFILES, include and so on

That is probably question about basic stuff but I am still a rookie in Linux environment and GPU computing.

Just type “make” (without the quotation marks). The program “make” will then look for a file called “Makefile” and use it as its input :)

yes, Makefile is just a script that tells the program ‘make’ how to build the program.