pokered/INSTALL.md

61 lines
1.2 KiB
Markdown
Raw Normal View History

2013-12-08 21:02:25 +00:00
# Linux
2018-03-11 00:03:27 +00:00
sudo apt-get install make git gcc
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
git clone https://github.com/rednex/rgbds
cd rgbds
sudo make install
cd ..
2013-12-08 21:02:25 +00:00
2018-03-11 00:03:27 +00:00
git clone https://github.com/pret/pokered
2013-12-08 21:02:25 +00:00
cd pokered
To build **pokered.gbc** and **pokeblue.gbc**:
2013-12-08 21:02:25 +00:00
make
2013-12-08 21:02:25 +00:00
To build them individually:
2013-12-08 21:02:25 +00:00
make red
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
2018-03-11 00:03:27 +00:00
git clone https://github.com/pret/pokered
2015-02-07 19:20:25 +00:00
cd pokered
2013-12-08 21:02:25 +00:00
2018-03-11 00:03:27 +00:00
To build **pokered.gbc** and **pokeblue.gbc**:
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
2018-03-11 00:03:27 +00:00
Download [**Cygwin**](http://cygwin.com/install.html): **setup-x86_64.exe** for 64-bit Windows, **setup-x86.exe** for 32-bit.
Run setup and leave the default settings. At "Select Packages", choose to install the following:
2017-09-30 17:33:44 +00:00
- `make`
- `git`
2018-03-11 00:03:27 +00:00
- `gcc-core`
2016-02-17 20:28:39 +00:00
2018-03-11 00:03:27 +00:00
Then download [**rgbds**](https://github.com/rednex/rgbds/releases/): the latest **win64.tar.gz** or **win32.tar.gz** release. Extract it and put all the `exe` and `dll` files individually in **C:\cygwin64\usr\local\bin**.
2018-03-11 00:03:27 +00:00
In the **Cygwin terminal**, enter these commands:
2018-03-11 00:03:27 +00:00
git clone https://github.com/pret/pokered
2015-02-07 19:20:25 +00:00
cd pokered
2013-12-08 21:02:25 +00:00
2018-03-11 00:03:27 +00:00
To build **pokered.gbc** and **pokeblue.gbc**:
make