-   Linux - Newbie (
-   -   HOWTO compile big project (

Niraj Kulkarni 05-17-2010 05:37 AM

HOWTO compile big project
I need to compile a big project in Linux. I understand
1. there should be one porject folder with a "Master Makefile" which contains names of all sub-folders.
2. Each sub-folder itself will have a Makefile , one C-file if needed one header file.
3. There will be a common folder for all headers.
Please tell me Where to start from : Master Make file , Make file inside each folder , Where do rules.make come into picture , what if sub-folder 1 depends on sub-folder 2 .
Is there any HOWTO learning link.
Can any one please give me some idea/example in this regard.
Please guide me...

ajeetsinghraina 05-17-2010 05:43 AM

Hope answers your query.

AwesomeMachine 05-17-2010 07:08 AM

Check out the man pages for aclocal, autoconf, and automake.

Gridley 05-17-2010 08:56 AM

Use CMake, it's much, much easier to use.

Niraj Kulkarni 05-17-2010 09:21 AM

Thanks a lot.
But I want to make my own system/project. In the link :
is a method for compliing a pre-decided structure (like I have installed ip-messnger , ./configure->make-> make install ). Not Self written.
Or do you with that as a base I should write/build my project.

knudfl 05-22-2010 03:57 AM


All times are GMT -5. The time now is 08:50 PM.