SharedMeatAxe
1.0
|
To use the MeatAxe library in your programs you need two files:
You must include the header file in your program by putting the line
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.so}