The HMM Library is a simple C-based library that provides both a static and dynamic implementation. The project includes a Makefile
to facilitate the compilation and linking process.
- Generates a static library (
libhmm.a
) - Generates a dynamic library (
libhmm.so
) - Supports debugging mode
- Easy compilation using
make
hmm.c
– Source file containing the implementationhmm.h
– Header file (if applicable)Makefile
– Build automation file
To build the project, use the following commands:
make
make static
make dynamic
make debug
make clean
To use the static library in your project:
gcc -o my_program my_program.c -L. -lhmm -static
To use the dynamic library in your project:
gcc -o my_program my_program.c -L. -lhmm -Wl,-rpath,.
This project is open-source and available under the MIT License.
Mohamed Abokhalil [email protected]