Hacker News new | ask | show | jobs
by zokier 765 days ago
make is part of POSIX; if you assume already POSIX environment for your software then make is not an additional dependency. And that also indicates that make is in no way Linux-only, it is widely used on BSDs and UNIXes of all flavours.

I don't like make for various reasons, but portability is not one of them.

1 comments

ahh -- a fellow C coder, i assume. :)

i admit my tirade is a little less applicable to C projects; many C projects are already using `make` for legitimate reasons, and at that point are already making some POSIX-y assumptions. so if that project's taskrunner needs are light, it really might make sense to just cram them in the Makefile and mark them .PHONY, despite make's shortcomings as a taskrunner.

my portability comments were really written with windows in mind.