]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - README.md
README, sdl, sys, makefile: Bring up macOS support
[xonotic/darkplaces.git] / README.md
index 85faa5e16a0d8922f69beba8bf505784123694a9..b4ce03e1416250acc1adab6061a0c618c3bcd6b2 100644 (file)
--- a/README.md
+++ b/README.md
@@ -35,9 +35,22 @@ pacman -S --needed gcc make mingw-w64-x86_64-{toolchain,libjpeg-turbo,libpng,lib
 
 3. See [Unix instructions](#unix-(general)).
 
+### macOS
+1. Open a terminal and input `xcode-select --install`
+2. Install [Homebrew](https://brew.sh)
+3. In the same (or a different terminal), input the following command:
+
+```
+brew install sdl2 libjpeg-turbo libpng libvorbis curl
+```
+
+4. See [Unix instructions](#unix-(general)).
+
 ### Unix (General)
 
-In the engine's root directory, run `make`. See `make help` for options.
+From a terminal, in the engine's root directory, input `make`. On macOS, input `make` with a target such as `make sdl-release`.
+
+Input `make help` for options.
 
 ### Windows (Visual Studio)
 
@@ -46,4 +59,3 @@ Instructions coming soon.
 ## Documentation
 
 Doxygen: https://xonotic.org/doxygen/darkplaces
-