Re:I Like Makefiles
by darby_nine on Saturday September 21, 2024 @02:09AM
(#41607870)
Right but writing dependency management (of targets, not package management) in shell seems like a nightmare compared to just leveraging make. Why complicate things? It's dead simple to debug, the interface is dead simple, what's the downside?
[ Parent
| on HN ]
Right, but the original point which started the thread is that "The author is not even using the mtime-based dependency tracking", in which case a plain shell script is very much a viable alternative to make.
I don't particularly mind this use of make, but as an article on make it fails to exemplify what I think is its main purpose.
Re:I Like Makefiles
by darby_nine on Saturday September 21, 2024 @11:40AM
(#41610664)
I don't think that really matters. Sometimes even basic shell scripts are better modeled with a makefile.