Remove repeated steps

This commit is contained in:
Crayon2000 2024-10-19 16:34:24 -04:00
parent 013da78dde
commit da0423c76d

View file

@ -89,19 +89,23 @@ Install them with a single command:
pacman --sync --needed --noconfirm libfat-ogc ppc-libpng ppc-freetype ppc-libjpeg-turbo pacman --sync --needed --noconfirm libfat-ogc ppc-libpng ppc-freetype ppc-libjpeg-turbo
``` ```
To install GRRLIB with Make in a few commands: Go to the directory where the code was downloaded:
```bash ```bash
c: c:
cd \grr\GRRLIB cd \grr
```
To install GRRLIB with Make in a few commands:
```bash
cd GRRLIB
make clean all install make clean all install
``` ```
If you prefer to use CMake, it can also be installed with a few commands: If you prefer to use CMake, it can also be installed with a few commands:
```bash ```bash
c:
cd \grr
/opt/devkitpro/portlibs/wii/bin/powerpc-eabi-cmake -B build /opt/devkitpro/portlibs/wii/bin/powerpc-eabi-cmake -B build
cmake --build build --target install cmake --build build --target install
``` ```
@ -116,24 +120,21 @@ Each library could also be installed individually:
To install libpngu: To install libpngu:
```bash ```bash
c: cd GRRLIB\lib\pngu
cd \grr\GRRLIB\lib\pngu
make clean all install make clean all install
``` ```
To install libgrrlib for Wii: To install libgrrlib for Wii:
```bash ```bash
c: cd GRRLIB\GRRLIB
cd \grr\GRRLIB\GRRLIB
make clean all install make clean all install
``` ```
To install libgrrlib for GameCube: To install libgrrlib for GameCube:
```bash ```bash
c: cd GRRLIB\GRRLIB
cd \grr\GRRLIB\GRRLIB
make PLATFORM=cube clean all install make PLATFORM=cube clean all install
``` ```