Thomas Touhey 3e52e2507d | ||
---|---|---|
doc | ||
include | ||
man/man3 | ||
src | ||
.gitignore | ||
.gitlab-ci.yml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE.md | ||
Makefile | ||
Makefile.vars | ||
README.md | ||
TODO.md | ||
configure |
README.md
libmonochrome - The MonochromeLib static implementation
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.
The original docs have been converted to markdown and are available in the wiki.
Pre-requisites
Name | Version |
---|---|
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
.
To build the library, simply make
.
To install the built library, use make install
(it will use the configuration generated by ./configure
).
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 ;make re
: cleans the object files and the final library, then makes the project.
Using
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