tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make rule of multiple file generation (was Re: CVS commit: src/share/mk)

> So this is fixed with an additional dependency to force serialization,
> or by fixing the script not to re-use the same temp filenames:
> nodes.h: nodes.c
> nodes.c nodes.h: nodetypes nodes.c.pat
>         ${_MKTARGET_CREATE}
>       ${SCRIPT_ENV} ${HOST_SH} ${.ALLSRC:S/^nodes.c$//} ${.OBJDIR}
>       [ -f nodes.h ]

This ugly :S/^nodes.c$// modifier can be avoided by using .ORDER to
force serialization, can't it?


Home | Main Index | Thread Index | Old Index