LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 05-17-2010, 06:37 AM   #1
Niraj Kulkarni
Member
 
Registered: May 2008
Posts: 47

Rep: Reputation: 15
HOWTO compile big project


Hi,
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...
Thnks

Last edited by Niraj Kulkarni; 05-17-2010 at 06:39 AM. Reason: typo mistake
 
Old 05-17-2010, 06:43 AM   #2
ajeetsinghraina
Member
 
Registered: May 2010
Location: India
Distribution: Ubuntu 7.04/8.04/8.10/10.04, RHEL 6, OpenSUSE,Mandriva,Fedora, CentOS, XandrOS, Slackware, OpenSolar
Posts: 155

Rep: Reputation: 55
Hope http://www.wikihow.com/Build-a-Typical-Linux-Project answers your query.
 
Old 05-17-2010, 08:08 AM   #3
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian jessie/sid; OpenSuSE; Fedora
Posts: 1,593

Rep: Reputation: 162Reputation: 162
Check out the man pages for aclocal, autoconf, and automake.
 
Old 05-17-2010, 09:56 AM   #4
Gridley
LQ Newbie
 
Registered: Apr 2010
Posts: 10

Rep: Reputation: 1
Use CMake, it's much, much easier to use.
 
Old 05-17-2010, 10:21 AM   #5
Niraj Kulkarni
Member
 
Registered: May 2008
Posts: 47

Original Poster
Rep: Reputation: 15
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.
Regards
 
  


Reply

Tags
big, compile, project


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie with big redhat project darsunt Red Hat 3 02-03-2007 06:15 PM
LFS - how big a project, how much of use? b0uncer Linux From Scratch 10 07-07-2006 06:29 AM
Big project for small N00b HKJGN Linux - Newbie 0 02-14-2005 08:55 PM
big project for a newbie joel b Linux - Newbie 3 02-11-2005 05:48 PM
Beginning a big project - Need an Good Project Manager gamehack Programming 3 01-15-2004 12:49 PM


All times are GMT -5. The time now is 10:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration