LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-30-2005, 10:05 PM   #1
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Rep: Reputation: 30
Make, Make Install etc


What is this Make actually?
Sometimes some packages require this..

what does it do actually? I currently am just blindly following the procedures.. but would love to find out more and understand


thanks
 
Old 06-30-2005, 10:13 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
make is what compiles programs. sorry for such a simple definition, but i'm not a programmer, just a simple end-user. you can always do "man make" or google for more info.
 
Old 06-30-2005, 10:38 PM   #3
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Make is a tool to automate the steps necessary to compile complex programs.

In a nutshell, the developer(s) create a file (named Makefile) that contains rules for how the program should be built. It doesn't actually perform the compile itself; it calls other programs (usually gcc) based on what the rules specify. At a very abstract level you could kind of, sort of look at it as a shell script; an intelligent shell script.

Like synaptical said, if you'd like more information, check out the man page, or download and read the GNU Make manual.
 
Old 06-30-2005, 10:49 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
the main cool thing it does is as you work on a project and change stuff "make" keeps track of file dependancies and what's been changed and only recompiles wha's needed and not the whole package.
otherwise writing large programs would mean hours to see if your two new lines of code fixed the problem. but with make you get instant comfirmation you still didn't get it right.
 
  


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
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 05:58 AM
'make' & 'make install commands not recognised by shell gilbertt Linux - Software 4 05-04-2004 08:04 AM
'make' and 'make install' commands dont work on my system? ginda Linux - Newbie 9 04-18-2004 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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