MeatAxe  2.4
Compiling and Linking with the MeatAxe Library

To use the MeatAxe library in your programs you need two files:

libmtx.a
The library file. This file is generated during the compilation of the MeatAxe.
meataxe.h
The header file for all MeatAxe library functions. This file is part of the distribution.

You must include the header file in your program by putting the line

#include "meataxe.h"

somewhere at the top of your program. If meataxe.h resides in the same directory as your program the compiler will find it there. Otherwise you must specify a complete path in the include statement or specify the directory on the command line, for example:

cc -c -I/usr/joe/mtx/src -o myprog.o myprog.c

Having compiled your program you must link it with the MeatAxe library. Here is an example:

*msg{cc -o myprog myprog.o libmtx.a}

MeatAxe 2.4 documentation, generated on Mon Jun 7 2021 11:42:24