help-make
[Top][All Lists]
Advanced

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

Re: Question on wildcard support in conditionals (ifeq, ifneq, etc)?


From: Greg Chicares
Subject: Re: Question on wildcard support in conditionals (ifeq, ifneq, etc)?
Date: Mon, 29 Sep 2008 23:23:16 +0000
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

On 2008-09-29 23:15Z, Randy Kao wrote:
> 
> You have a variable named TARGET which has been set to either apple_pie or
> apple_turnover.
> 
> In some Makefile somewhere you want to check to see if it is apple* (either
> apple_pie, apple_turnover, apple_whatever).

Use $(findstring) to test whether one string contains another.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]