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...
Hope http://www.wikihow.com/Build-a-Typical-Linux-Project answers your query.
Check out the man pages for aclocal, autoconf, and automake.
Use CMake, it's much, much easier to use.
Thanks a lot.
But I want to make my own system/project. In the link : http://www.wikihow.com/Build-a-Typical-Linux-Project
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.
|All times are GMT -5. The time now is 04:20 PM.|