On Mon, 2011-04-04 at 09:53 +0200, José Luis García Pallero wrote:
> So my question is, how can I detect if some string (gcc, for example)
> is contained in other string (an input argument, for example)?

Look up the $(findstring ...) function in the GNU make manual section on
"Functions for String Substitution and Analysis".

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[email protected]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to