Re: intltool rule patch



On Sun, Mar 17, 2002 at 10:10:23AM +0800, James Henstridge wrote:
> >>>  %.o : %.c ; command...
> >>>
> >
> >You were using rules of the form
> >   %.o : %.c  command...
> >
> >This is not strictly correct for gmake.
> >
> Is it correct for any make?
Not that I know of.  But then again I don't know if any non-gmake
derived make supports the notion of rule and command on 1 line.

> How does it tell whether command is a 
> dependency of the target or a command to build the target?
I have no idea.

> Also, I think the "%.foo: %.bar" syntax is not portable.
Older sys V makes only supported suffix rules
eg
    .SUFFIX .foo .bar
    .foo.bar :
	    cmd

However, most makes (that I know of) have support for gmake's % syntax



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]