The current Makefile works on Linux but not on macOS. It relies on Linux-specific tools like /proc/cpuinfo, getent, and hardcoded paths such as /usr/bin/tar and /usr/bin/sudo. macOS also doesn’t support tar --same-owner.
These issues prevent the Makefile from running on macOS.