Why do we use makefile?
Answer
A makefile is useful because
(if properly defined) allows recompiling only what is needed when you make a change
. In a large project rebuilding the program can take some serious time because there will be many files to be compiled and linked and there will be documentation, tests, examples etc.
Answer
A makefile is useful because
(if properly defined) allows recompiling only what is needed when you make a change
. In a large project rebuilding the program can take some serious time because there will be many files to be compiled and linked and there will be documentation, tests, examples etc.