Subject: Re: lint bombs out in make build
To: Tim Rightnour <root@garbled.net>
From: Bill Studenmund <skippy@macro.stanford.edu>
List: current-users
Date: 10/06/1998 21:05:25
On Tue, 6 Oct 1998, Tim Rightnour wrote:
> # > @rm -f llib-l${LIB}.ln
> # > - @${LINT} -C${LIB} ${LOBJS} ${LLIBS}
> # > + @${LINT} -C${LIB} ${.ALLSRC:M*ln} ${LLIBS}
> # ^^^^^
> # Do you really need that? It worked fine for me w/ just .ALLSRC.
> #
>
> probably not.. I just threw it in there to avoid it trying to get it's hands on
> any .c or .sh files.. if it works without that, then commit it with just
> ALLSRC.
Here's how LOBJS, the dependence target, gets set:
LOBJS+= ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.ln}
So I think that means that everything will be a .ln file. :-)
Take care,
Bill