4 ms·
If you just want to build something, perhaps it doesn't matter much. But when you are developing, typing "make" will rebuild the file you just edited plus anyt
by gumby 6y ago
If you just want to build something, perhaps it doesn't matter much.
But when you are developing, typing "make" will rebuild the file you just edited plus anything that depends on the contents of that file (assuming a well written Makefile, which is not that hard to write for most cases). Trying to make that work in a bash script would involve lots of manually written tests, which would be easy to get wrong / get out of sync.