Compiling on Mac OS X - Llennpie/Saturn GitHub Wiki
NOTE: Still a work-in-progress. This is currently untested and likely to be unstable.
Dependencies
Use Homebrew to install necessary packages:
brew install make mingw-w64 gcc sdl2 pkg-config glew glfw3 libusb audiofile
Building
git clone https://github.com/Llennpie/Saturn
cd Saturn
Copy an unmodified, vanilla ROM into the repo's directory and rename it to baserom.us.z64
.
Finally, compile via:
gmake OSX_BUILD=1
You can optionally append -j4
where 4 is the number of cores your computer has. This may speed up the compiling process.
When finished, an executable will be created in /build/us_pc/
.