tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: make: dealing with targets with multiple outputs
Kurt Lidl <lidl%pix.net@localhost> wrote:
> I guess that I have to ask the question - why not just add additional
> dependencies to more or less force serial operation?
Because in general they do not work.
In the example below if cfg_schema_parse.h is lost but
cfg_schema_parse.c remains, build will fail.
>
> I did this previously, and it worked OK for both single processor and
> large -j values:
>
> cfg_schema_parse.h: cfg_schema_parse.c
> cfg_schema_parse.c: ${.CURDIR}/../common/cfg_schema_parse.y ${INCS}
> ${YACC} ${YFLAGS} --output=${.TARGET} ${.IMPSRC}
>
> -Kurt
Home |
Main Index |
Thread Index |
Old Index