Subject: Re: USE_NEW_TOOLCHAIN toolchain build not parallel-safe
To: Todd Vierling <tv@wasabisystems.com>
From: Alan Barrett <apb@cequrux.com>
List: tech-toolchain
Date: 10/09/2001 14:03:52
On Mon, 08 Oct 2001, Todd Vierling wrote:
> One of the fundamental problems here is that make(1) has no
> notion of a rule that builds more than one target simultaneously
> (genrtl.c/genrtl.h) -- Solaris's parallel make uses the '+' operator
> for this, i.e.:
> 
> genrtl.c + genrtl.h: foo
> 	bar

You can use "::" for that sort of thing:

${FILES}:: ${PREREQUISITES}
	command-to-make-them-all-simultaneously

--apb (Alan Barrett)