« Bring Up Interface in Debian/Ubuntu Without an IPGetting clean URL's working for Drupal on a Debian LAMP »

Good layman's explanation of 'nix make routines

12/26/08 | by Brian Fitzhugh [mail] | Categories: Linux

Link: http://techreport.com/forums/viewtopic.php?f=7&t=63277&st=0&sk=t&sd=a&start=30#p899188

Was reading the forums over at the The Tech Report and read one of the best explanations of make I'd ever run across:

Forge say, "make is a framework for compiling projects. Basically there's a file, informationally named the makefile, which contains the big plan. When you run make configure, it adjusts a bunch of subtle (and sometimes not subtle) variables to align the project with your OS, CPU arch, version of make/gcc/whatall. After that you run make (no arg) and it compiles the main body of the project. Sometimes you'll have 'accessory' makes, which compile modules or the GUI frontend, but these are fairly rare. Make install goes through and copies the compiled binaries and libs out to where they'll run from, leaving the raw source alone. make clean will delete any compiled stuff out of the source tree, readying it for a different config/compile run.

There are many others as well. It's always a good idea to crack open any unfamiliar makefiles and take a look before make'ing against them."

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
September 2010
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Search

Friend Connect

XML Feeds

powered by b2evolution