Hi, how do you compile something when it comes in multiple files. Like it has a bunch of other folders and in them it has source files, and header files etc... How do you compile all of them together. The whole thing is a IRC bot, with lots of functions, but i just dont know how to compile all of the things together. Please help. Thanks.

oogabooga

17Sep2008 06:07

Re: Compiling

Multi-file compilation is achieved by compiling each code file separately into "object" files.
The object files (and subroutines from library files) are then linked into a complete
executable.

Usually a source distribution will contain a "makefile". It may also contain the project file
for the IDE it was created in. Either of those should help you out.