LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-24-2006, 09:50 AM   #1
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Options for the "make" command


I am probably missing something really obvious....

In the man page for "make", I cannot find any of the commonly seen options, eg:
make menuconfig
make clean
make install
make mrproper

I also did not see anything skimming some books.

Where is this kind of thing documented?
 
Old 07-24-2006, 10:28 AM   #2
NSWKim
LQ Newbie
 
Registered: Jul 2006
Distribution: Ubuntu
Posts: 22

Rep: Reputation: 15
Smile

pixellany,

Make utilizes a config file called "Makefile" where the options you are referring to, exist (all, menuconfig, etc.). With that in mind you see that it's really up to the developer of the software you are trying to "Make" that provide those options. It's really always best to read the docs that is included with the software.

Checkout the linux doc project for more info on Make:
http://www.tldp.org/HOWTO/Software-B...g-HOWTO-3.html
 
Old 07-24-2006, 10:34 AM   #3
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,833

Rep: Reputation: 108Reputation: 108
I am a kind of reluctant to post here to question by such a knowledgeable senior penguin.

All of them are documented in README file in kernel source tree.

make install and make clean are used also many other packages.

I very much think I am confused.
 
Old 07-24-2006, 11:33 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Original Poster
Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by NSWKim
pixellany,

Make utilizes a config file called "Makefile" where the options you are referring to, exist (all, menuconfig, etc.). With that in mind you see that it's really up to the developer of the software you are trying to "Make" that provide those options. It's really always best to read the docs that is included with the software.

Checkout the linux doc project for more info on Make:
http://www.tldp.org/HOWTO/Software-B...g-HOWTO-3.html
I suspected that it was in the "makefile"....I guess that subtlety is that something like "clean" is not an arguement passed to make, but rather a directive to use an option in the makefile. Or am I picking fly specks out of pepper?

In any case, thanks for the help..
 
Old 07-25-2006, 04:19 AM   #5
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
they are called targets, look in the makefile for them.
(Called Makefile or makefile)

it will look like:

Code:
clean: 
      rm blah

install:
      do this
it's how make works.
I think mrproper is deprecated in 2.6 kernel isn't it?
 
  


Reply



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
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 01:03 AM
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 02:33 PM
Is it possible to use "make menuconfig" ONLY for new options after a Kernel upgrade ? nasty_daemon Linux - General 9 09-08-2005 11:21 AM
How to modify dial options ( From "pulse" to "tone" ) nykey Linux - Newbie 3 11-24-2003 01:39 PM
Slack 9.1 & "make menuconfig" options bawbag Slackware 3 10-08-2003 02:49 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:06 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