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: da...@l8s.co.uk