[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Why does one work ant the other doesn't $(foreach
From: |
PATTON, BILLY \(SBCSI\) |
Subject: |
RE: Why does one work ant the other doesn't $(foreach |
Date: |
Tue, 28 Mar 2006 05:32:46 -0600 |
A shorter version
Works
$(foreach var,$(list)
Fails
$(foreach var\
,$(list)
Fails
$(foreach var,\
$(list)
Appears that var,list must have no white space between.
What is the reason for this?
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf
> Of PATTON, BILLY (SBCSI)
> Sent: Monday, March 27, 2006 4:02 PM
> To: address@hidden
> Subject: Why does one work ant the other doesn't $(foreach
>
>
> Why do the 2 following loops, that are identical, except for the break
> in the lines, does the first work and the second fail
>
> $(foreach proj,$(filter-out ldb,$(PROJECTS))\
> ,$(foreach bb,$(BB$(sep)$(proj))\
> ,$(foreach topic,$(TOPIC$(sep)$(proj)$(sep)$(bb)) \
> ,$(warning $(call clean_proj_bb_topic_target\
> ,$(call merge,$(sep),clean
> ${proj} $(bb) $(topic))\
> ,$(proj),$(bb),$(topic))))))
>
> $(foreach proj\
> ,$(filter-out ldb,$(PROJECTS))\
> ,$(foreach bb\
> ,$(BB$(sep)$(proj))\
> ,$(foreach topic\
> ,$(TOPIC$(sep)$(proj)$(sep)$(bb)) \
> ,$(warning $(call clean_proj_bb_topic_target\
> ,$(call merge,$(sep),clean
> ${proj} $(bb) $(topic))\
> ,$(proj),$(bb),$(topic))))))
>
>
> _______________________________________________
> Help-make mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-make
>