Fix leading whitespace in INSTALL.md

This commit is contained in:
PikalaxALT
2020-01-15 12:17:22 -05:00
parent 6d47a7dda7
commit 19227f535a
+13 -13
View File
@@ -18,36 +18,36 @@ In the case of Cygwin, [include](https://cygwin.com/cygwin-ug-net/setup-net.html
Install the **devkitARM** toolchain of [devkitPro](https://devkitpro.org/wiki/Getting_Started) and add its environment variables. For Windows versions without the Linux subsystem, the devkitPro [graphical installer](https://github.com/devkitPro/installer/releases) includes a preconfigured MSYS2 environment, thus the steps below are not required. Install the **devkitARM** toolchain of [devkitPro](https://devkitpro.org/wiki/Getting_Started) and add its environment variables. For Windows versions without the Linux subsystem, the devkitPro [graphical installer](https://github.com/devkitPro/installer/releases) includes a preconfigured MSYS2 environment, thus the steps below are not required.
sudo (dkp-)pacman -S gba-dev sudo (dkp-)pacman -S gba-dev
export DEVKITPRO=/opt/devkitpro export DEVKITPRO=/opt/devkitpro
echo "export DEVKITPRO=$DEVKITPRO" >> ~/.bashrc echo "export DEVKITPRO=$DEVKITPRO" >> ~/.bashrc
export DEVKITARM=$DEVKITPRO/devkitARM export DEVKITARM=$DEVKITPRO/devkitARM
echo "export DEVKITARM=$DEVKITARM" >> ~/.bashrc echo "export DEVKITARM=$DEVKITARM" >> ~/.bashrc
## Installation ## Installation
To set up the repository: To set up the repository:
git clone https://github.com/pret/pokefirered git clone https://github.com/pret/pokefirered
git clone https://github.com/pret/agbcc git clone https://github.com/pret/agbcc
cd ./agbcc cd ./agbcc
sh build.sh sh build.sh
sh install.sh ../pokefirered sh install.sh ../pokefirered
cd ../pokefirered cd ../pokefirered
To build **pokefirered.gba**: To build **pokefirered.gba**:
make -j$(nproc) make -j$(nproc)
To confirm it matches the official ROM image while building, do this instead: To confirm it matches the official ROM image while building, do this instead:
make compare -j$(nproc) make compare -j$(nproc)
If only `.c` or `.s` files were changed, turn off the dependency scanning temporarily. Changes to any other files will be ignored and the build will either fail or not reflect those changes. If only `.c` or `.s` files were changed, turn off the dependency scanning temporarily. Changes to any other files will be ignored and the build will either fail or not reflect those changes.
make -j$(nproc) NODEP=1 make -j$(nproc) NODEP=1
Convenient targets have been defined to build Pokémon LeafGreen and the 1.1 revisions of both games: Convenient targets have been defined to build Pokémon LeafGreen and the 1.1 revisions of both games: