
Automation
How to Use Makefiles to Automate Project Tasks With Examples
Use a Makefile to automate project tasks: targets, phony rules, variables, dependencies and a help target, with the tab and shell gotchas explained.
6 min read
Tag
2 posts

Use a Makefile to automate project tasks: targets, phony rules, variables, dependencies and a help target, with the tab and shell gotchas explained.

Use Makefile deploy targets to wrap build, test, release and rollback commands, with phony targets, variables, a production guard and a self-documenting help.