makefile - Why use make over a shell script? -


I find a shell script with command line arguments handling a bit easier.

Why this / / Standard

The general idea is that create support (Reasonable) At least rebuilding - that is, you tell which parts of your program rely on other parts. When you update some part of the program, it only rebuilds those parts depending on it when you may be such a shell script Together, it will be more of a lot (clearly checking the last modified dates on all the files etc.) With the obvious one shell script, the option is to rebuild everything every time small projects For this There is a perfectly appropriate approach, but a complete rebuilding for a big project can easily take an hour or more - using the make , you can easily do the same thing in a minute or two can be completed. ..


Comments