Update README with instructions on building on Mac
@@ -104,6 +104,39 @@ cd build.mingw
cmake .. -DCMAKE_TOOLCHAIN_FILE=../../../mingww.toolchain -DSDL2_DIR=/usr/local/cross-tools/x86_64-w64-mingw32/lib/cmake/SDL2
```
+### Building & Running on OSX
+
+You will need build tools and CMAKE. Assuming you have [homebrew](https://docs.brew.sh/Installation) installed
+
+``` shell
+xcode-select --install
+brew install clang
+```
+
+You'll also need to build and install SDL2...
+
+``` shell
+wget https://www.libsdl.org/release/SDL2-2.0.10.zip
+unzip SDL2-2.0.10.zip
+cd SDL2-2.0.10
+mkdir build
+cd build
+../configure
+make
+sudo make install
+```
+
+Finally, from the root directory of this repo
+
+``` shell
+mkdir build
+cd build
+cmake .. -DCMAKE_TOOLCHAIN_FILE=../darwin.toolchain
+make
+```
+
+When the build completes you should find all the examples within the build directory
+
### Building & Running On 32blit
To build your project for 32blit using arm-none-eabi-gcc you should prepare the Makefile with CMake using the provided toolchain file.
