This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Remove generated YACC stuff
On Jul 29, 2000, Marc Espie <espie@quatramaran.ens.fr> wrote:
> Interesting... first time I've seen a parallel make fail from THAT end.
a b: c
cmd
is just a shorthand for :
a: c
cmd
b: c
cmd
Some makes support:
a + b: c
cmd
to indicate that both targets are built by a single execution of
`cmd', but that's not portable
> If we don't mind losing a little bit on parallelization,
> sequentialization should work as well, e.g., have (arbitrarily)
> objc-parse.y: c-parse.in
> (rule to build objc-parse.y)
> c-parse.y: objc-parse.y c-parse.in
> (rule to build c-parse.y)
This will fail if someone removes c-parse.y and rebuilds it with a
different version of bison. Ok, it's their fault, but we should not
blame the user for assuming the Makefile does the right thing.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me