pokered/INSTALL.md

73 lines
1.4 KiB
Markdown
Raw Normal View History

2013-12-08 21:02:25 +00:00
# Linux
Dependencies:
2013-12-09 01:13:10 +00:00
2013-12-08 21:02:25 +00:00
sudo apt-get install make gcc bison git python python-setuptools
sudo easy_install pip
2013-12-08 21:02:25 +00:00
The assembler used is [**rgbds**](https://github.com/bentley/rgbds).
2013-12-08 21:02:25 +00:00
git clone git://github.com/bentley/rgbds.git
cd rgbds
sudo mkdir -p /usr/local/man/man{1,7}
sudo make install
cd ..
rm -rf rgbds
Set up the repository.
2013-12-08 21:02:25 +00:00
git clone git://github.com/iimarckus/pokered.git
cd pokered
git submodule init
git submodule update
sudo pip install -r extras/requirements.txt
To build **pokered.gbc** and **pokeblue.gbc**:
2013-12-08 21:02:25 +00:00
make
2013-12-08 21:02:25 +00:00
This should take about 10 seconds. Subsequent builds are faster.
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
# OS X
2013-12-08 21:02:25 +00:00
Download and install **Command Line Tools for Xcode**.
Then open a terminal and follow the Linux instructions.
2013-12-08 21:02:25 +00:00
# Windows
2013-12-08 21:02:25 +00:00
It's recommended that you use a virtual machine running Linux or OS X.
2013-12-08 21:02:25 +00:00
If you insist on Windows, use [**Cygwin**](http://cygwin.com/install.html) (32-bit).
2013-12-08 21:02:25 +00:00
Dependencies are downloaded in the installer rather than the command line.
Select the following packages:
* make
* git
* python
* python-setuptools
2013-12-08 21:02:25 +00:00
To install rgbds, extract the contents of
**http://iimarck.us/etc/rgbds.zip**
and put them in `C:\cygwin\usr\local\bin`.
Then set up the repository. In the **Cygwin terminal**:
git clone git://github.com/iimarckus/pokered.git
cd pokered
git submodule init
git submodule update
sudo easy_install pip
sudo pip install -r extras/requirements.txt
To build:
2013-12-08 21:02:25 +00:00
make
2013-12-08 21:02:25 +00:00