To compile and run via QEMU on macOS/Linux, simply run:
$ make
If you only want to compile:
$ make snakeos.img
To compile, you need the i386-elf
toolchain. Install it via Homebrew:
brew tap nativeos/i386-elf-toolchain
brew install nativeos/i386-elf-toolchain/i386-elf-binutils
brew install nativeos/i386-elf-toolchain/i386-elf-gcc
To run, you need QEMU (installation guide can be founde here)