Lapis Lazuli

technical blog for web developer

How to write Makefile

about Makefile

When use golang development, almost use Makefile. Used by build and run go application.but I don't understand this format. So, I explain structure of Makefile.

title of process:

this command is minimum. other how to.

hoge: (depend on file or method)

call another title of process. it's capable chain process. and this is very important. next, wirte to process.

   chmod 777

this simple. write shell command. use combination call method. these basic Makefile usage. almost build.