Source-Changes-D archive

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

Re: CVS commit: src/share/mk



On Tue, Dec 08, 2009 at 03:18:42PM +0000, Masao Uebayashi wrote:
> 
> OTOH you can't pass parameters to ${CC}, because in suffix rules make(1) only
> knows the name of ${.IMPSRC} and ${.TARGET}

Actually it would do no harm for bsd.prog.mk (IIRC) to define an
explicit dependency when it generates ${OBJS} from ${SRCS}.
Make will use the rules from the appropriate suffix rule, but
it will force the specific dependency.

So if SRCS contains foo.c the will be built, even if there is a foo.S

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index