I recently finished writing a function, and small test app, I can manually compile the function into a shared library, and compile the test binary against it, but since I've never used libtools I'd like to figure out how to do it using libtools.
All the tutorials use a hello.c or really complicated examples. So I'm stuck with too simple or too complex. I only have three files: file.h -> function prototype, file.c -> function definition, and main.c -> code for the test application.
My goal is to be able to do a ...
Code:
./configure
make
make install
type of solution on it.
And place the binary in the /usr/bin, the header file in /usr/include, and the shared library in /usr/lib(64)
I would be greatful for any help - Thank You