From owner-freebsd-questions Fri Dec 15 21: 1:44 2000 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 15 21:01:40 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id 3016337B400 for ; Fri, 15 Dec 2000 21:01:40 -0800 (PST) Received: from [212.238.77.116] (helo=buffy.raggedclown) by post.mail.nl.demon.net with smtp (Exim 3.14 #2) id 1479TW-0003PJ-00; Sat, 16 Dec 2000 05:01:38 +0000 Received: from localhost (localhost [[UNIX: localhost]]) by buffy.raggedclown (8.10.2/8.10.2) id eBG51Xf06670; Sat, 16 Dec 2000 06:01:33 +0100 From: Cliff Sarginson Date: Sat, 16 Dec 2000 06:01:32 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="iso-8859-1" To: "Peter Brezny" , References: <005901c0662a$54075480$46010a0a@sysadmininc.com> In-Reply-To: <005901c0662a$54075480$46010a0a@sysadmininc.com> Subject: Re: Ok guru's here's another easy one for you...make clean MIME-Version: 1.0 Message-Id: <00121606013204.01674@buffy> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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