What is compiling?
- compiling is what happens when you run the
gcccommand - there is a little more infor about compiling in Lecture 02
What is compiling?
gcc commandWhy use Make?
gcc, we have been compiling every file each time you run gcc; that can take a lot of time if you have a large programmake allows you the flexibility to only compile the parts of the program that has changedmake allows you to automatically repeat certain tasks, such as:
make still uses a compiler underneath, such as gccmakefile and your end users will not have to worry about those details; they can just run makeWhat is Make?
makeHow to use Make?
make command in a folder that has a makefilemakefile, such as make clean