Re:A Generation Lost in the Bazaar (2012)
by jnwatson on Monday August 02, 2021 @04:29PM
(#28042206)
That works fine if you’re only building for Linux. If, however, you want to run on BSD, you need something like autotools.
[ Parent
| on HN ]
Re:A Generation Lost in the Bazaar (2012)
by jandrese on Monday August 02, 2021 @04:41PM
(#28042342)
A short Makefile means you aren't leaning on OS specific quirks and you have a short dependency list. It usually compiles on BSD just fine.
If you aren't including headers from the "linux" directory a BSD system is almost identical to a Linux system as far as C is concerned. Common libraries like OpenSSL, zlib, libpng, and so forth are identical as well. pkg-config exists on modern BSD systems and takes a lot of the guesswork out of dependencies.