Subject: Re: make(8) .PREFIX issue
To: Christos Zoulas <christos@zoulas.com>
From: Eric Haszlakiewicz <erh@jodi.nimenees.com>
List: current-users
Date: 10/22/2004 10:13:18
On Thu, Oct 21, 2004 at 04:32:27PM -0400, Christos Zoulas wrote:
> You can do even better by supplying a suffix rule:
> 
> .SUFFIXES:      .db .null
> .NULL:          .null
> 
> .null.db:       
> 	${MAKEMAP} ${MMOPTS} ${.PREFIX} < ${.PREFIX}

	Well, _that's_ certainly not documented.  I assume .NULL means
something like "turn the given suffix into the empty string when
generating filenames".  What else does it do?

eric