Compiling

Vip3r's Avatar, Join Date: Aug 2008
Light Poster
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.
0
oogabooga's Avatar
Ambitious contributor
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.

Put up the link to the source code if you want more specific help.