Makefile is a file for compiling software using make, here is a detailed description of what’s makefile.

By using makefile, task automation can be easy, Siyuan Liu’s blog is a great example.

Hugo is a nice static website genenrator, writing post or publish it can be easier with makefile, check Bryan’s Makefile, just type make post and it will ask you the post title, when you finish writing, just type make publish, all done.

Remember to name it as Makefile not makefile, and put it in the same directory as where you would type make.