Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2000 06:01:32 +0100
From:      Cliff Sarginson <cliff@raggedclown.net>
To:        "Peter Brezny" <peter@sysadmin-inc.com>, <freebsd-questions@freebsd.org>
Subject:   Re: Ok guru's here's another easy one for you...make clean
Message-ID:  <00121606013204.01674@buffy>
In-Reply-To: <005901c0662a$54075480$46010a0a@sysadmininc.com>
References:  <005901c0662a$54075480$46010a0a@sysadmininc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 15 December 2000 01:02, Peter Brezny wrote:

For general information "make" is a general purpose program
that helps you build a thing A, that is dependent on thing
B,C,D etc. Most usually this is a program, but it doesn;t have to be.
It can be a document or whatever.

What make does is determined by a useful set of inbuilt rules plus
a configuration file, usually called"makefile" or "Makefile".
The makefile contains a list of "targets", and each target has a set
of rules concerning what make should do when you request the makeing
of that target.

The targets such as "clean" could do anything you like, but fortunately
over the years certain conventions have grown up, so that "make clean"
can normally be expected to mean to remove all the dross left behind
by a previous make, and start with a clean sheet so to speak.

Mmm, just ocurred to me "clean" is a good target for a trojan horse !

Anyway. You can see what make will do (without it doing it) for a particular
target by using the "-n" flag. Of course deciphering what you then see
is another problem...

Cliff


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00121606013204.01674>