by ataylor284_ · 2y ago · 0 comments
I love make and still spin up a minimalist Makefile like in the article regularly for tiny projects, but I'd hate to have to actually maintain one for a real world project.
.depends: $(SRCS)
$(CC) $(CFLAGS) -MM $(SRCS) -o .depends
-include .dependsThe problem is that now the tools aren't designed as composable bits that you can really parallelise with a makefile. C/C++ are designed that way and if they didn't use header files I'd consider them perfect from the build system's point of view :-). Golang and java for example are a nuisance.
They prioritise various features over productivity and I think that's a mistake.