LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 05: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, 05:39 PM   #2
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Rep: Reputation: 107Reputation: 107
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, 07:24 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

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

http://www.tuxfiles.org/linuxhelp/softinstall.html
 
Old 06-28-2011, 08:13 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
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, 12:04 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

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

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

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

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
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, 03:08 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

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


Reply

Tags
makefile



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 01:58 PM
Perl Begginer Cool_Hand_Luke Programming 6 03-11-2005 04:34 PM
For begginer,where can I start NoThing Linux - General 1 08-03-2004 12:01 PM
Linux for Begginer destroyer30 Linux - Newbie 6 04-27-2003 08:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:43 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
Open Source Consulting | Domain Registration