From 1d5655cced16a755ed2ba7addf626b8abb9a9cb6 Mon Sep 17 00:00:00 2001 From: Murray Campbell Date: Mon, 15 Oct 2018 11:35:51 -0500 Subject: [PATCH] Updated Working on macOS (markdown) --- Working-on-macOS.md | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/Working-on-macOS.md b/Working-on-macOS.md index b47b9be..be5630b 100644 --- a/Working-on-macOS.md +++ b/Working-on-macOS.md @@ -60,9 +60,24 @@ Building statically means you can run this application on other machines with ea ## Here's the quick instructions: -1. From the command line: -`export MACOSX_DEPLOYMENT_TARGET=10.9` -2. Build raylib (Again, this is so the export line takes affect) +1. From the command line: `export MACOSX_DEPLOYMENT_TARGET=10.9` +2. Install prerequisite external libraries (GLFW, GLUT, etc.) In terminal: +* Install XCode tools (don't forget to then update the tools in the Mac App Store after!) +```` +xcode-select --install +```` + +* Install Homebrew: +```` +/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" +```` + +* Install GLFW +```` +brew install glfw +```` + +3. Build raylib (Again, this is so the export line takes effect) ```` git clone https://github.com/raysan5/raylib.git