I'm trying to figure out how this makefile works. Can anyone help me? We've been given a makefile that works with gcc and I'm trying to get it to work with borland cc. I guess I need to change 'gcc' to 'bcc32' and adjust options as necessary, and also to change .o to .obj, but I've no idea what this does:
tree: lib myTree.o
gcc myTree.o -L. -R. -ltree -o tree
lib: tree.o
ld -h libtree.so -dy -G -o libtree.so tree.o
what do lib and ld do? and what is an .so file?
And what do I do with this line:
clean:
rm -rf *.o tree libtree.so
something like del *.obj.....?
sorry about all the wordage, but I guess you need as much info as possible.