2013-12-08 21:02:25 +00:00
# Linux
2017-09-30 17:33:44 +00:00
sudo apt-get install make git python
2013-12-08 21:02:25 +00:00
2017-09-30 17:33:44 +00:00
sudo apt-get install byacc flex pkg-config libpng-dev
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
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
2017-09-30 17:33:44 +00:00
Get [**Homebrew** ](http://brew.sh/ ).
2014-11-07 07:13:35 +00:00
2017-09-30 17:33:44 +00:00
Then in **Terminal** , run:
2014-11-07 07:13:35 +00:00
2017-09-30 17:33:44 +00:00
xcode-select --install
brew install rgbds
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
2017-09-30 17:33:44 +00:00
To build on Windows, use [**Cygwin** ](http://cygwin.com/install.html ) (64-bit). Use the default settings.
2014-02-14 03:34:52 +00:00
2017-09-30 17:33:44 +00:00
In the installer, select the following packages:
- `make`
- `git`
- `python`
2016-02-17 20:28:39 +00:00
2017-09-30 17:33:44 +00:00
Then download [**rgbds** ](https://github.com/bentley/rgbds/releases ).
Extract the archive. Inside should be `rgbasm.exe` , `rgblink.exe` , `rgbfix.exe` , `rgbgfx.exe` and some `.dll` files. Put each file in `C:\cygwin64\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