erynwells.me/content/blog/2024/bsd-make.md
2024-10-27 10:03:19 -06:00

1.1 KiB

title date description categories tags
BSD `make` != GNU `make` 2024-07-31T07:27:50-07:00 Discussing some differences between the BSD and GNU variants of `make(1)`. Tech
BSD
GNU
Make
Software

While working on a little home networking project, I found myself having to write a Makefile in a FreeBSD environment.

Having written only GNU Makefiles over the course of my life, I was surprised to find that my recipes just ... didn't work.

Some resources that helped me make the jump to writing BSD style Makefiles are:

  • The make(1) man page that ships with FreeBSD. It's surprisingly thorough, but difficult to search through if you don't know exactly what you're looking for.
  • This FreeBSD mailing list post quoting GNU make's summary of differences from BSD make.
  • And PMake: A Tutorial, hosted on FreeBSD.org.