You can create a makefile using the Makefile wizard. To open the wizard, right-click the project node of the project in which you want to create the makefile and choose New > Makefile.
Type the file name for the makefile, and the path to the folder where you want to save the makefile. You can also use the Browse button to navigate to the location.
Click Next.