How to make a "Makefile" for a project?

Hi
We have converted a Visual Studio project to a linux one (so that all of codes would work properly) but our main problem is that how to link files to each other.

Thanks

What kind of files, are we talking static libraries, shared libraries, or object files?

I tend to compile every module-ish thing into a static library then every executable links to the relevant static libraries.

This may help

http://tldp.org/HOWTO/Program-Library-HOWTO/index.html
This should get you started:

http://mrbook.org/tutorials/make/
Topic archived. No new replies allowed.