the structure of files is as follow:
there is a root directory for all my files and there is a subdirectory for that random number generator, i deal with that subdir as a lib, I defined it in Makefile as a lib for my files.
I can't see from here what you did exactly but I do know that you did something
wrong; the linker isn't complaining for no reason. Double check your command
lines and triple check what 'make' has to say about everything.
One peculiarity on (old) unix systems may be the order in which you list your
libs. If the target is listed before the dependent code is listed, the target won't
be found. Read the 'ranlib' manual entry if this applies to you.
kind regards,
Jos