libmonochrome/README.md

34 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2016-04-22 07:06:40 +02:00
# libmonochrome - The MonochromeLib static implementation
2016-04-21 23:54:05 +02:00
The monochrome library was made by PierrotLL. This project is only a reorganization of the files to make a static library, instead of having to include the source files in the projects each time.
2016-04-21 23:54:05 +02:00
2016-06-25 09:31:12 +02:00
The original docs have been written to markdown and are available [in the wiki](http://git.planet-casio.com/cakeisalie5/libmonochrome/wikis/home).
2016-04-26 12:32:50 +02:00
2016-05-23 01:43:52 +02:00
## Pre-requisites
2016-07-18 17:56:43 +02:00
| Name | Version |
| ----------------------------------------------| ------- |
| [libfx](https://forge.touhey.fr/casio/lib/fx) | =1.0 |
2016-05-23 01:43:52 +02:00
## Building
2016-04-21 23:54:05 +02:00
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`.
2016-07-18 19:08:35 +02:00
To build the library, simply `make`.
To install the built library, use `make install` (it will use the configuration generated by `./configure`).
2016-07-18 19:08:35 +02:00
To build the manpages (requires a2x/asciidoc, `sudo apt-get install asciidoc` under Debian), just run `make all-doc`.
To install it, run `make install-doc`.
If you want to contribute, these Makefile targets might help you :
- `make clean`: clean the object files ;
- `make fclean`: clean the object files and the final library ;
2016-07-18 19:08:35 +02:00
- `make re`: cleans the object files and the final library, then makes it all again ;
- `make clean-doc`: cleans the build manpages.
## Using
2016-04-21 23:54:05 +02:00
2016-05-23 01:43:52 +02:00
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