mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 15:02:20 +00:00
Updated Makefiles and README.md.
This commit is contained in:
parent
1489036470
commit
61e13d09e9
7 changed files with 41 additions and 28 deletions
|
@ -1,11 +1,13 @@
|
||||||
# Quick'n'dirty makefile [BC] v2
|
#---------------------------------------------------------------------------------
|
||||||
|
.SUFFIXES:
|
||||||
|
#---------------------------------------------------------------------------------
|
||||||
|
|
||||||
ifeq ($(strip $(DEVKITPPC)),)
|
ifeq ($(strip $(DEVKITPPC)),)
|
||||||
$(error "Use export DEVKITPPC=<path to>devkitPPC and try again")
|
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPPC)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(strip $(DEVKITPRO)),)
|
ifeq ($(strip $(DEVKITPRO)),)
|
||||||
$(error "Use export DEVKITPRO=<path to>devkitPRO and try again")
|
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
NULLSTR :=
|
NULLSTR :=
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
# Quick'n'dirty makefile [BC]
|
#---------------------------------------------------------------------------------
|
||||||
|
.SUFFIXES:
|
||||||
|
#---------------------------------------------------------------------------------
|
||||||
|
|
||||||
ifeq ($(strip $(DEVKITPPC)),)
|
ifeq ($(strip $(DEVKITPPC)),)
|
||||||
$(error "Use export DEVKITPPC=<path to>devkitPPC and try again")
|
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPPC)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(strip $(DEVKITPRO)),)
|
ifeq ($(strip $(DEVKITPRO)),)
|
||||||
$(error "Use export DEVKITPRO=<path to>devkitPRO and try again")
|
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# FreeType Makefile
|
# FreeType Makefile
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
# Quick'n'dirty makefile [BC] v2
|
#---------------------------------------------------------------------------------
|
||||||
|
.SUFFIXES:
|
||||||
|
#---------------------------------------------------------------------------------
|
||||||
|
|
||||||
ifeq ($(strip $(DEVKITPPC)),)
|
ifeq ($(strip $(DEVKITPPC)),)
|
||||||
$(error "Use export DEVKITPPC=<path to>devkitPPC and try again")
|
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPPC)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(strip $(DEVKITPRO)),)
|
ifeq ($(strip $(DEVKITPRO)),)
|
||||||
$(error "Use export DEVKITPRO=<path to>devkitPRO and try again")
|
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PREFIX := $(DEVKITPPC)/bin/powerpc-eabi-
|
PREFIX := $(DEVKITPPC)/bin/powerpc-eabi-
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
# Quick'n'dirty makefile [BC] v2
|
#---------------------------------------------------------------------------------
|
||||||
|
.SUFFIXES:
|
||||||
|
#---------------------------------------------------------------------------------
|
||||||
|
|
||||||
ifeq ($(strip $(DEVKITPPC)),)
|
ifeq ($(strip $(DEVKITPPC)),)
|
||||||
$(error "Use export DEVKITPPC=<path to>devkitPPC and try again")
|
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPPC)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(strip $(DEVKITPRO)),)
|
ifeq ($(strip $(DEVKITPRO)),)
|
||||||
$(error "Use export DEVKITPRO=<path to>devkitPRO and try again")
|
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PREFIX := $(DEVKITPPC)/bin/powerpc-eabi-
|
PREFIX := $(DEVKITPPC)/bin/powerpc-eabi-
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
# Quick'n'dirty makefile [BC] v2
|
#---------------------------------------------------------------------------------
|
||||||
|
.SUFFIXES:
|
||||||
|
#---------------------------------------------------------------------------------
|
||||||
|
|
||||||
ifeq ($(strip $(DEVKITPPC)),)
|
ifeq ($(strip $(DEVKITPPC)),)
|
||||||
$(error "Use export DEVKITPPC=<path to>devkitPPC and try again")
|
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPPC)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(strip $(DEVKITPRO)),)
|
ifeq ($(strip $(DEVKITPRO)),)
|
||||||
$(error "Use export DEVKITPRO=<path to>devkitPRO and try again")
|
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PREFIX := $(DEVKITPPC)/bin/powerpc-eabi-
|
PREFIX := $(DEVKITPPC)/bin/powerpc-eabi-
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
# Quick'n'dirty makefile [BC] v2
|
#---------------------------------------------------------------------------------
|
||||||
|
.SUFFIXES:
|
||||||
|
#---------------------------------------------------------------------------------
|
||||||
|
|
||||||
ifeq ($(strip $(DEVKITPPC)),)
|
ifeq ($(strip $(DEVKITPPC)),)
|
||||||
$(error "Use export DEVKITPPC=<path to>devkitPPC and try again")
|
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPPC)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(strip $(DEVKITPRO)),)
|
ifeq ($(strip $(DEVKITPRO)),)
|
||||||
$(error "Use export DEVKITPRO=<path to>devkitPRO and try again")
|
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PREFIX := $(DEVKITPPC)/bin/powerpc-eabi-
|
PREFIX := $(DEVKITPPC)/bin/powerpc-eabi-
|
||||||
|
|
21
README.md
21
README.md
|
@ -83,18 +83,19 @@ Installing GRRLIB
|
||||||
|
|
||||||
This guide is for Windows. If you are using Linux, I am going to presume you
|
This guide is for Windows. If you are using Linux, I am going to presume you
|
||||||
are smart enough to convert these instructions.
|
are smart enough to convert these instructions.
|
||||||
|
```
|
||||||
GRRLIB is supplied as source code
|
GRRLIB is supplied as source code
|
||||||
libjpeg is supplied as source code
|
libjpeg is supplied as source code
|
||||||
libpngu is supplied as source code
|
libpngu is supplied as source code
|
||||||
libpng is supplied as source code
|
libpng is supplied as source code
|
||||||
libz is supplied as source code
|
libz is supplied as source code
|
||||||
libfreetype is supplied as source code
|
libfreetype is supplied as source code
|
||||||
libfat is supplied with devkitpro (Ie. preinstalled)
|
libfat is supplied with devkitpro (i.e. preinstalled)
|
||||||
|
```
|
||||||
|
|
||||||
The easy way is to install GRRLIB and all the required libraries in a single
|
The easy way is to install GRRLIB and all the required libraries in a single
|
||||||
command:
|
command:
|
||||||
```
|
```bash
|
||||||
c:
|
c:
|
||||||
cd \grr\GRRLIB
|
cd \grr\GRRLIB
|
||||||
make clean all install
|
make clean all install
|
||||||
|
@ -107,7 +108,7 @@ installed and you are ready to start developing Wii homebrew games.
|
||||||
|
|
||||||
If you want, you could install the libz, libpng, libpngu, libjpeg and
|
If you want, you could install the libz, libpng, libpngu, libjpeg and
|
||||||
libfreetype libraries in a single command:
|
libfreetype libraries in a single command:
|
||||||
```
|
```bash
|
||||||
c:
|
c:
|
||||||
cd \grr\GRRLIB\lib
|
cd \grr\GRRLIB\lib
|
||||||
make clean all install
|
make clean all install
|
||||||
|
@ -116,42 +117,42 @@ libfreetype libraries in a single command:
|
||||||
Each library could also be installed individually:
|
Each library could also be installed individually:
|
||||||
|
|
||||||
To install libz
|
To install libz
|
||||||
```
|
```bash
|
||||||
c:
|
c:
|
||||||
cd \grr\GRRLIB\lib\zlib
|
cd \grr\GRRLIB\lib\zlib
|
||||||
make clean all install
|
make clean all install
|
||||||
```
|
```
|
||||||
|
|
||||||
To install libpng
|
To install libpng
|
||||||
```
|
```bash
|
||||||
c:
|
c:
|
||||||
cd \grr\GRRLIB\lib\png
|
cd \grr\GRRLIB\lib\png
|
||||||
make clean all install
|
make clean all install
|
||||||
```
|
```
|
||||||
|
|
||||||
To install libpngu
|
To install libpngu
|
||||||
```
|
```bash
|
||||||
c:
|
c:
|
||||||
cd \grr\GRRLIB\lib\pngu
|
cd \grr\GRRLIB\lib\pngu
|
||||||
make clean all install
|
make clean all install
|
||||||
```
|
```
|
||||||
|
|
||||||
To install libjpeg
|
To install libjpeg
|
||||||
```
|
```bash
|
||||||
c:
|
c:
|
||||||
cd \grr\GRRLIB\lib\jpeg
|
cd \grr\GRRLIB\lib\jpeg
|
||||||
make clean all install
|
make clean all install
|
||||||
```
|
```
|
||||||
|
|
||||||
To install libfreetype
|
To install libfreetype
|
||||||
```
|
```bash
|
||||||
c:
|
c:
|
||||||
cd \grr\GRRLIB\lib\freetype
|
cd \grr\GRRLIB\lib\freetype
|
||||||
make clean all install
|
make clean all install
|
||||||
```
|
```
|
||||||
|
|
||||||
To install libgrrlib:
|
To install libgrrlib:
|
||||||
```
|
```bash
|
||||||
c:
|
c:
|
||||||
cd \grr\GRRLIB\GRRLIB
|
cd \grr\GRRLIB\GRRLIB
|
||||||
make clean all install
|
make clean all install
|
||||||
|
|
Loading…
Reference in a new issue