LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 06-28-2011, 06:37 PM   #1
gkarthik078
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Rep: Reputation: Disabled
please help me IM BEGGINER IN LINUX..


hello,

i just wanna know how to create a make file and how it is used .. pleas giv me step by step solutions..
 
Old 06-28-2011, 06:39 PM   #2
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Rep: Reputation: 102Reputation: 102
In a terminal, cd into the folder that you extracted from the tarball and, while in root, type
Code:
./configure
This will generate your makefile (usually).
 
Old 06-28-2011, 08:24 PM   #3
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,248

Rep: Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557
Here's a detailed explanation of compiling software.

http://www.tuxfiles.org/linuxhelp/softinstall.html
 
Old 06-28-2011, 09:13 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 12,087

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
I would say that creating a make file is way more than a newbie task.

One usually uses the make file that comes with some package.

Why do you want to make a make file?
 
Old 06-29-2011, 01:04 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,282

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
Writing a Makefile, etc. etc.

http://www.linuxquestions.org/questi...file-883925/#5

http://www.eng.hawaii.edu/Tutor/Make/
 
Old 06-29-2011, 01:47 AM   #6
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,634
Blog Entries: 29

Rep: Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900
and this one is for understanding the Kernel Makefiles: http://www.ravnborg.org/kbuild/makefiles.html

This should be followed only after going through the 'eng.hawaii' link, posted above.
 
Old 06-29-2011, 04:08 AM   #7
John VV
Guru
 
Registered: Aug 2005
Posts: 13,518

Rep: Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804
you might want to start with some basics
start here
http://www.cprogramming.com/tutorial.html
 
  


Reply

Tags
makefile


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
A linux begginer and your family pslacerda Linux - Newbie 14 11-23-2008 02:58 PM
Perl Begginer Cool_Hand_Luke Programming 6 03-11-2005 05:34 PM
For begginer,where can I start NoThing Linux - General 1 08-03-2004 01:01 PM
Linux for Begginer destroyer30 Linux - Newbie 6 04-27-2003 09:49 PM


All times are GMT -5. The time now is 06:04 AM.

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