Fix Mac OSX install instructions

This commit is contained in:
mid-kid 2020-02-25 14:59:06 +01:00
parent 25794633f1
commit c5f22b782b
1 changed files with 7 additions and 12 deletions

View File

@ -57,19 +57,14 @@ Now you're ready to [build **pokecrystal**](#build-pokecrystal).
## Mac OS X ## Mac OS X
Install [**Homebrew**](https://brew.sh/). Follow the official instructions.
Open **Terminal** and enter the following commands. Open **Terminal** and enter the following commands.
To install the **Xcode Command Line Tools**:
```bash
xcode-select --install
```
To install **rgbds**: To install **rgbds**:
```bash ```bash
git clone --depth=1 https://github.com/rednex/rgbds brew install rgbds
sudo make -C rgbds CFLAGS=-O2 install
``` ```
Now you're ready to [build **pokecrystal**](#build-pokecrystal). Now you're ready to [build **pokecrystal**](#build-pokecrystal).
@ -91,7 +86,7 @@ To install **rgbds**:
```bash ```bash
sudo apt-get install pkg-config flex bison libpng-dev sudo apt-get install pkg-config flex bison libpng-dev
git clone --depth=1 https://github.com/rednex/rgbds git clone -b v0.3.9 --depth=1 https://github.com/rednex/rgbds
sudo make -C rgbds CFLAGS=-O2 install sudo make -C rgbds CFLAGS=-O2 install
``` ```
@ -107,7 +102,7 @@ To install **rgbds**:
```bash ```bash
sudo zypper install pkg-config flex bison libpng16-devel sudo zypper install pkg-config flex bison libpng16-devel
git clone --depth=1 https://github.com/rednex/rgbds git clone -b v0.3.9 --depth=1 https://github.com/rednex/rgbds
sudo make -C rgbds CFLAGS=-O2 install sudo make -C rgbds CFLAGS=-O2 install
``` ```
@ -125,7 +120,7 @@ Alternatively, to install **rgbds** manually:
```bash ```bash
sudo pacman -S pkg-config flex bison libpng sudo pacman -S pkg-config flex bison libpng
git clone --depth=1 https://github.com/rednex/rgbds git clone -b v0.3.9 --depth=1 https://github.com/rednex/rgbds
sudo make -C rgbds CFLAGS=-O2 install sudo make -C rgbds CFLAGS=-O2 install
``` ```
@ -162,7 +157,7 @@ If `rgbds` is not available, you'll also need these:
To install **rgbds**: To install **rgbds**:
```bash ```bash
git clone --depth=1 https://github.com/rednex/rgbds git clone -b v0.3.9 --depth=1 https://github.com/rednex/rgbds
sudo make -C rgbds CFLAGS=-O2 install sudo make -C rgbds CFLAGS=-O2 install
``` ```