From owner-freebsd-newbies  Mon Feb 19  6:48:24 2001
Delivered-To: freebsd-newbies@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 <gregory@prioris.mini.pw.edu.pl>
To: "G. Jason Middleton" <gmiddl1@gl.umbc.edu>
Cc: freebsd-questions@freebsd.org, freebsd-newbies@freebsd.org
Subject: Re: make clean
Message-ID: <20010219154814.A43805@prioris.mini.pw.edu.pl>
References: <Pine.SGI.4.31L.02.0102171518420.1665989-100000@irix2.gl.umbc.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3i
In-Reply-To: <Pine.SGI.4.31L.02.0102171518420.1665989-100000@irix2.gl.umbc.edu>
Sender: owner-freebsd-newbies@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-newbies" in the body of the message