Subject: Re: MAKEFLAGS/MFLAGS
To: Jeroen Ruigrok/asmodai <asmodai@tendra.org>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-toolchain
Date: 03/16/2004 23:48:27
>On Mon, Mar 15, 2004 at 04:05:55PM -0800, Simon J. Gerraty wrote:
>> >MAKEFLAGS = -m ${.CURDIR}/mk
>> 
>> You want:
>> 
>> .MAKEFLAGS: -m ${.CURDIR}/mk

>My apologies, a small typo.  I did mean .MAKEFLAGS.

Ok, but note that you want the special target .MAKEFLAGS, not a variable
The other useful one (at least with NetBSD make and the bmake that is
derrived from it) is the _variable_ .MAKEOVERRIDES which is useful for
simulating variables asigned to on the command line.

>bmake version (within TenDRA) (taken from open packages and OpenBSD).

Sorry, no idea what that might be, or wether anything I tell you
applies to it ;-)

The bmake in pkgsrc/devel/bmake is essentially NetBSD's -current make
with autoconf support.  I've kept them pretty well sync'd for the last
couple of years.

--sjg