Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-03-2013, 07:36 AM   #1
LQ Newbie
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
Post explanation of a code

I want to the implementation of the code 'make config' in fedora
Old 02-03-2013, 10:02 AM   #2
Ser Olmy
Senior Member
Registered: Jan 2012
Distribution: Slackware
Posts: 2,464

Rep: Reputation: Disabled
It's a bit difficult to understand exactly what you're asking.

The make command is used to compile source code. make will look for a file called "Makefile" in the current directory, and follow the instructions in that file.

make config tells make to look for instructions for building the target "config". make does not know what "config" is, and will consult the Makefile for further instructions.

It's impossible to tell what (if anything) that command will do without knowing exactly what source code you're running make to build.
Old 02-03-2013, 10:23 AM   #3
LQ Guru
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190
Originally Posted by uma.g View Post
I want to the implementation of the code 'make config' in fedora
That may depend on your definition of the word "implementation":

make is a program. You can get the source code of that program and study it and see the real implementation of that command. But I'm pretty sure you won't understand it.

But make is a program that interpretively executes a "program" (a set of instructions) written in a special purpose language. The implementation you probably want to see is those instructions, not the implementation of make itself.

You'll need to read a lot of documentation about make in order to understand the language those instructions are in. Then (as Ser Olmy already explained) those instructions are in a file named Makefile and "config" identifies the final such instruction that make is being told to process. A characteristic of this language is that each instruction effectively identifies other instructions that must be executed before it. So identifying "config" as the last instruction effectively tells make all the instructions it needs to execute.


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
[SOLVED] explanation of wpan code assassin91 Linux - Newbie 2 03-15-2012 01:29 AM
awk code explanation pete1234 Programming 2 10-14-2006 07:05 PM
Code explanation ... ? dbee Linux - Software 1 12-17-2005 01:06 AM
fat fs code explanation ramya272 Programming 0 03-06-2004 09:55 AM
Pascal Code Explanation Gerardoj Programming 1 09-25-2003 01:15 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:02 AM.

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