b5media.com

Advertise with us

Enjoying this blog? Check out the rest of the Technology Channel Subscribe to this Feed

New Linux User

An introduction to Make

by Kyle on March 26th, 2007

The ergo weblog has an excellent introduction to the make command. While the man page for make leaves a lot to be desired, ergo does an excellent job explaining how make can be used.

Uses for make:

Make can be used:

1. To create shorthands for complex (or multi-stage) command pipelines
2. To wrap shell scripts in mnemonics
3. To create temporary environments (even GUI workspaces)
4. To create test harnesses
5. In new and as yet unforseen ways.

The basics of make:

1. Make gets its instructions from a Makefile.
2. A Makefile consists of rules.
3. A rule is defined by a target and commands.
4. A rule can optionally have dependencies (i.e other targets).

Ergo does an excellent job explaining the proper syntax of make and giving some useful real-world examples of make in action. This tutorial is not aimed at beginners.

Make - An afterburner for your command-line - [Ergo]

POSTED IN: How To

0 opinions for An introduction to Make

  • No one has left a comment yet. You know what this means, right? You could be first!

Have an opinion? Leave a comment:




Check Spelling
Activate Spell Check while Typing
Site Meter
Close
E-mail It