On Fri, May 31, 2002 at 11:46:03PM -0500, Dan Nelson wrote:
> That doesn't fix Tru64 make, which uses $> like BSD make, or Solaris
> make, which has neither.  In fact, based on this sample, I suggest you
> submit a patch to the gmake people adding $>, which obviously is the
> defacto standard :)

That's a good idea, thanks. I just sent an e-mail coining the concept to
[EMAIL PROTECTED]

> Automake avoids the issue entirely by simply listing the dependencies
> itself, so
> 
> > envuidgid: envuidgid.o
> >     $(CC) $(LDFLAGS) -o $@ $^
> 
> becomes
> 
> >     $(CC) $(LDFLAGS) -o $@ envuidgid.o

Ugly but portable, I guess. It would be better to be able to use pattern rules
instead; less duplication.

-- 
Jos Backus                 _/  _/_/_/        Santa Clara, CA
                          _/  _/   _/
                         _/  _/_/_/             
                    _/  _/  _/    _/
[EMAIL PROTECTED]     _/_/   _/_/_/            use Std::Disclaimer;

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to