How Do You Save a Makefile in Windows?

I am having problems testing my makefile which I created in Windows operating system. When I created the file, I saved it as a word document. When I tried running the file, I got an error message. I went back and then saved it as a txt file but that did not work either. So how do I actually save a makefile when I finish creating it?
