From owner-freebsd-questions Thu Mar 14 13:33:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from post-20.mail.nl.demon.net (post-20.mail.nl.demon.net [194.159.73.1]) by hub.freebsd.org (Postfix) with ESMTP id 0CF7637B404; Thu, 14 Mar 2002 13:33:27 -0800 (PST) Received: from [212.238.194.207] (helo=mailhost.raggedclown.net) by post-20.mail.nl.demon.net with esmtp (Exim 3.35 #2) id 16lcqk-000JTI-00; Thu, 14 Mar 2002 21:33:26 +0000 Received: from angel.raggedclown.net (angel.raggedclown.intra [192.168.1.7]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [buffy]) with ESMTP id 123AB4880D; Thu, 14 Mar 2002 22:33:24 +0100 (CET) Received: by angel.raggedclown.net (Ragged Clown Host [angel], from userid 1005) id 126D422597; Thu, 14 Mar 2002 22:33:26 +0100 (CET) Date: Thu, 14 Mar 2002 22:33:26 +0100 From: Cliff Sarginson To: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: make's default actions Message-ID: <20020314213325.GA11996@raggedclown.net> References: <20020314212239.97536.qmail@web14703.mail.yahoo.com> <20020314212733.GA11936@raggedclown.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020314212733.GA11936@raggedclown.net> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message