help-make
[Top][All Lists]
Advanced

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

gmsl and split


From: PATTON, BILLY \(SBCSI\)
Subject: gmsl and split
Date: Thu, 16 Mar 2006 13:09:45 -0600

What is wrong?  I've looked at the examples using split and it looks
like I'm doing it right, but
${DEF} is empty



include gmsl

STR := abc_def_hij

DEF := $(word 2,$(call split,_,$(STR)))

all :
        echo "DEF = '${DEF}'"


Results:
gmake -f zz
echo "DEF = ''"
DEF = ''




reply via email to

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