From owner-freebsd-questions Mon Feb 19 6:48:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from prioris.mini.pw.edu.pl (prioris.mini.pw.edu.pl [148.81.80.7]) by hub.freebsd.org (Postfix) with ESMTP id 48CBF37B401; Mon, 19 Feb 2001 06:48:20 -0800 (PST) Received: by prioris.mini.pw.edu.pl (Postfix, from userid 1368) id 0BF377D009; Mon, 19 Feb 2001 15:48:14 +0100 (CET) Date: Mon, 19 Feb 2001 15:48:14 +0100 From: Grzegorz Czaplinski To: "G. Jason Middleton" Cc: freebsd-questions@freebsd.org, freebsd-newbies@freebsd.org Subject: Re: make clean Message-ID: <20010219154814.A43805@prioris.mini.pw.edu.pl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Feb 17, 2001 at 03:20:33PM -0500, G. Jason Middleton wrote: > can someone tell me exactly what the command make clean does? > > Thanks in advance > > G. Jason Middleton When you type make clean, the Makiefile is being serched for the target clean. You can define target clean as follows: clean: -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) -rm -f *~ core In this case all object, objectmoc, core files are deleted. Usulally, all targets (clean, all etc.) need dependencies, dependencies can represent other targets and so on. Have a look at any makefile and try to figure out. Hope that helps /gregory -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message