3 ms·
I've heard BSD and mac both use much older, non-GPLv3 versions of make. Portability means supporting older versions too.
by flukus 9y ago
I've heard BSD and mac both use much older, non-GPLv3 versions of make. Portability means supporting older versions too.
- eadmund 9y agoMy first step on a non-GNU system back when I had to use those was to install the GNU utilities and add them to the beginning of my PATH. I suppose if I had to support them primarily I'd have gone the portability route, but fortunately I was always worrying about them secondarily instead.
- plorkyeran 9y ago/usr/bin/make on macOS is GNU Make 3.81, which is fairly ancient (2006) but still a much more featureful target than POSIX make. Installing GNU make on BSDs is not difficult; for any project with a nonzero number of dependencies it's likely to be the most trivial one. If you're writing a C89-zero-non-posix-dependencies library then sure, you can't use GNU make, but you also probably only have a ten line makefile anyway.
- paulddraper 9y agoThat's the Ubuntu 14.04 version. Old, but make changes very little.