|
From: | John Graham-Cumming |
Subject: | Re: gmsl and split |
Date: | Thu, 16 Mar 2006 20:14:06 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040208 Thunderbird/0.5 Mnenhy/0.6.0.104 |
PATTON, BILLY (SBCSI) wrote:
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 = ''
I get echo "DEF = 'def'" DEF = 'def' What version of GNU Make are you using? What version of GMSL? John.
[Prev in Thread] | Current Thread | [Next in Thread] |