2013-12-08 21:02:25 +00:00
# Linux
2016-02-17 21:34:50 +00:00
sudo apt-get install make gcc bison git python
2013-12-08 21:02:25 +00:00
2017-05-01 15:08:36 +00:00
git clone https://github.com/rednex/rgbds
2014-02-14 03:34:52 +00:00
cd rgbds
2017-05-01 15:08:36 +00:00
git checkout v0.2.5
2014-02-14 03:34:52 +00:00
sudo make install
cd ..
2013-12-08 21:02:25 +00:00
2015-10-25 07:21:27 +00:00
git clone --recursive https://github.com/pret/pokered
2013-12-08 21:02:25 +00:00
cd pokered
2014-02-14 03:34:52 +00:00
To build **pokered.gbc** and **pokeblue.gbc** :
2013-12-08 21:02:25 +00:00
2014-02-14 03:34:52 +00:00
make
2013-12-08 21:02:25 +00:00
2014-02-14 03:34:52 +00:00
To build them individually:
2013-12-08 21:02:25 +00:00
make red
2014-02-14 03:34:52 +00:00
make blue
2013-12-08 21:02:25 +00:00
2015-02-07 19:20:25 +00:00
# Mac
2013-12-08 21:02:25 +00:00
2015-10-25 07:20:24 +00:00
In **Terminal** , run:
2014-11-07 07:13:35 +00:00
xcode-select --install
2017-05-01 15:08:36 +00:00
git clone https://github.com/rednex/rgbds
2015-02-07 19:20:25 +00:00
cd rgbds
2017-05-01 15:08:36 +00:00
git checkout v0.2.5
2015-02-07 19:20:25 +00:00
sudo make install
cd ..
2013-12-08 21:02:25 +00:00
2015-10-25 07:21:27 +00:00
git clone --recursive https://github.com/pret/pokered
2015-02-07 19:20:25 +00:00
cd pokered
2013-12-08 21:02:25 +00:00
2015-02-07 19:20:25 +00:00
make
2013-12-08 21:02:25 +00:00
2015-02-07 19:20:25 +00:00
# Windows
2013-12-08 21:02:25 +00:00
2015-10-25 07:20:24 +00:00
To build on Windows, use [**Cygwin** ](http://cygwin.com/install.html ). Use the default settings.
2014-02-14 03:34:52 +00:00
2016-02-17 20:28:39 +00:00
In the installer, select the following packages: `make` `git` `python` `gettext`
2017-05-01 15:08:36 +00:00
Then get [**rgbds 0.2.5** ](https://github.com/bentley/rgbds/releases/tag/v0.2.5 ).
Extract the archive and put `rgbasm.exe` , `rgblink.exe` , `rgbfix.exe` and `rgbgfx.exe` in `C:\cygwin\usr\local\bin` . If your Cygwin installation directory differs, ensure the `bin` directory is present in the PATH variable.
2014-02-14 03:34:52 +00:00
2015-02-07 19:20:25 +00:00
In the **Cygwin terminal** :
2014-02-14 03:34:52 +00:00
2015-10-25 07:21:27 +00:00
git clone --recursive https://github.com/pret/pokered
2015-02-07 19:20:25 +00:00
cd pokered
2013-12-08 21:02:25 +00:00
2014-02-14 03:34:52 +00:00
make