During development you may sometimes notice you run a lot of commands to set up, build, test, and manage your project. Sometimes, these end up requiring several steps, or you have trouble remembering the exact command.
To use Make, start by creating a file called Makefile, usually in the root directory of a project.
This target says that if the target does not exist then it must be created by executing the commands.
In the end we are left with this: all: copy_config copy_config: output/default_config.json output/default_config.json: src/default_config.json cp src/default_config.json output/default_config.json clean: rm -f output/default_config.json