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> In-Reply-To: <Pine.SGI.4.31L.02.0102171518420.1665989-100000@irix2.gl.umbc.edu> References: <Pine.SGI.4.31L.02.0102171518420.1665989-100000@irix2.gl.umbc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010219154814.A43805>