Final corrections
This commit is contained in:
parent
8e6dab38a8
commit
6bc9574877
10
README.md
10
README.md
|
@ -4,6 +4,12 @@ The monochrome library was made by PierrotLL. This project is only a reorganizat
|
|||
|
||||
The original docs have been converted to markdown and are available [in the libmonochrome wiki](http://git.planet-casio.com/cakeisalie5/libmonochrome/wikis/home).
|
||||
|
||||
## Pre-requisites
|
||||
|
||||
| Name | Version |
|
||||
| -------------------------------------------------------| ------- |
|
||||
| [libfx](http://git.planet-casio.com/cakeisalie5/libfx) | =1.0 |
|
||||
|
||||
## Building
|
||||
|
||||
First, create the Makefile configuration with the `./configure` command. Defaults settings should be enough, but if you want to change the installation directories, see `./configure --help`.
|
||||
|
@ -19,4 +25,6 @@ If you want to contribute, these Makefile targets might help you :
|
|||
|
||||
## Using
|
||||
|
||||
Once installed, when linking a project, you will need to link with the library by adding the `-lmonochrome` flag.
|
||||
Once installed, when linking a project using this library, you will need to link the library and its pre-requisites by adding the following flags :
|
||||
|
||||
-lfx -lmonochrome
|
||||
|
|
|
@ -19,8 +19,8 @@ Installation directories:
|
|||
--prefix=PREFIX main installation prefix [/opt/sh3eb-elf]
|
||||
|
||||
Fine tuning of the installation directories:
|
||||
--libdir=DIR library files of the linker [PREFIX/lib]
|
||||
--includedir=DIR include files for the compiler [PREFIX/include]
|
||||
--libdir=DIR library files of the linker [PREFIX/sh3eb-elf/lib]
|
||||
--includedir=DIR include files for the compiler [PREFIX/sh3eb-elf/include]
|
||||
--mandir=DIR man pages [PREFIX/share/man]
|
||||
|
||||
EOF
|
||||
|
@ -29,8 +29,8 @@ exit 0
|
|||
|
||||
# Defaults
|
||||
prefix=/opt/sh3eb-elf
|
||||
libdir='$(IPREFIX)/lib'
|
||||
includedir='$(IPREFIX)/include'
|
||||
libdir='$(IPREFIX)/sh3eb-elf/lib'
|
||||
includedir='$(IPREFIX)/sh3eb-elf/include'
|
||||
mandir='$(IPREFIX)/share/man'
|
||||
|
||||
# Args parsing
|
||||
|
|
Loading…
Reference in New Issue