tech-userlevel archive

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

Re: another make(1) .for loop problem

On Wed, Jan 28, 2009 at 01:26:36AM +0100, Jukka Salmi wrote:
> Hmm, without a .for loop this gets even stranger (makefiles are attached):
> $ make
> a (containing 'x') is...
> ...defined
> ...not defined

Not really, both:
    .ifdef ${var}
    .ifndef ${var}
got treated as:
    .if "${var}" != ""

In any case, I've changed the code so that only:
    .ifdef "${var}"
    .ifdef <number>
get converted to comparisons.


David Laight:

Home | Main Index | Thread Index | Old Index