Date: Thu, 14 Mar 2002 22:33:26 +0100 From: Cliff Sarginson <csfbsd@raggedclown.net> To: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: make's default actions Message-ID: <20020314213325.GA11996@raggedclown.net> In-Reply-To: <20020314212733.GA11936@raggedclown.net> References: <20020314212239.97536.qmail@web14703.mail.yahoo.com> <20020314212733.GA11936@raggedclown.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 14, 2002 at 10:27:33PM +0100, Cliff Sarginson wrote: > On Thu, Mar 14, 2002 at 01:22:39PM -0800, Wayne Lubin wrote: > > Hi, > > > > If you read the porters handbook it states that when > > someone types "make" into a port directory make will > > go in order to the following targets: > > > > fetch, extract, patch, configure, build > > > > This is refered to as make's default action. My > > question is how is this acheived? Does freebsd use > > some hached version of make? This clearly is not > > standard actions for the make utility. If I wanted to > > do a software project of my own on freebsd not related > > to the port collection or porting at all for that > > matter, and wanted to use the make utility, would the > > make program still go through this default action, and > > if so, how do I turn it off. Thanks for your help. > > > Make is a general purpose tool. > I doubt the ports use a hacked version of it. > The above actions are presumably a consequence of a standard port > configuration makefile. > What make does is determined by the actions you give it in a "makefile". > It has a *lot* of intelligence built into it, but not at that level. > A thought, to demonstrate the above: A "C" program, call it "foo.c" main() { } Type: % make foo You will now have an executable (albeit useless) program called foo. You don't even need a makefile :) -- Regards Cliff Sarginson -- <csfbsd@raggedclown.net> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020314213325.GA11996>