Makefile
Naming
By convention its named Makefile
but lowercase makefile
should work fine as well.
About
Makefile just runs commands commands in your terminal.
HelloWorld make file
/dir/makefile:
default:
echo hi
in /dir/ run
make
to execute the file.
Basic of Makefile
Just runs whatever command you tell it to run.
Notes
Does not accept spaces at the front of the command, needs to be a tab.
Example Commit
gt.sandbox.checkout.commit.cleanly dc41a95 \
&& cd cpp/hello-world \
&& make \
&& ./out_runnable
Backlinks