Thomas Touhey cbb4a0c2b1 | ||
---|---|---|
debian | ||
doc | ||
include | ||
src | ||
tools | ||
.gitignore | ||
AUTHORS.md | ||
LICENSE.md | ||
Makefile | ||
Makefile.msg | ||
Makefile.vars | ||
README.md | ||
TODO.md | ||
configure |
README.md
libg1m - Casio File Format manipulation
Introduction
All of the files created around CASIO calculators are declinations of one format, which I named by the name of one of them : G1M. These formats go from main memory saves to pictures and e-activities (documents).
This library aims to be able to parse and write in all of the available formats, and to centralize the documentation and work on them, in order to provide a simple interface for C programs, that can be adapted to provide other interfaces such as a Python one, and to hide the odd subtilities of this Patchwork As A Format.
Prerequisites
Side note : the library might work with older versions of these dependencies, I took these as a reference because these are the ones I work with.
Making-only dependencies
Name | Version |
---|---|
make | >= 4.0 |
gcc | >= 4.9 |
binutils | >= 2.25 |
asciidoc | >= 8.6.9 |
gzip | >= 1.6 |
Runtime dependencies
Name | Version |
---|---|
zlib | >= 1.2.8 |
Debian Packaging dependencies
Name | Version |
---|---|
debhelper | >= 9.0 |
devscripts | >= 2.15 |
Building
To package for Debian, use the deb
target. You shouldn't configure before
running this target, debian/rules
will make it for you. Packages and
associated file are created in the parent directory.
If you ought to make it yourself, just ./configure
then make
.
To install, use make install
.
If you're using a custom target, by default, the prefix will be
/usr/<target>
; to change this, use file options using the
configure script options (see ./configure --help
).
To build a DLL for MS-Windows, use a XXX-wXX-mingwXX target.
To build and install only the lib, use all-lib
then install-lib
.
To build and install only the docs, use all-doc
and install-doc
.
Other useful targets:
uninstall
,uninstall-lib
,uninstall-bin
,uninstall-doc
: will try to uninstall using the current configuration (experimental);mostlyclean
,clean
,clean-doc
,mostlyclean-lib
,clean-lib
: remove built files at different levels;re
,re-lib
,re-doc
: regenerate built files at different levels (clean and build) -- useful when configuration is changed.