On 4/4/2011 3:35 PM, Eli Zaretskii wrote:
Date: Mon, 04 Apr 2011 14:45:14 -0500
From: Raleigh Rinehart<[email protected]>
# $(call rm-cmd,FILE_LIST,Chunk Size,rm options)
rm-cmd=$(strip $(eval __a :=)$(foreach w,$1,$(if $(filter $2,$(words
$(__a))),$(shell $(RM) $3 $(strip $(__a)) )$(eval __a:=))$(eval __a
+=$w))$(shell $(RM) $3 $(__a))
What is the value of "RM"?
Sorry, I should have included that in the original e-mail.

rm is defined as:

GNUTOOLS := c:\progra~1\GnuWin32
RM    := $(GNUTOOLS)\bin\rm.exe -f
Does it help to use forward slashes, both in GNUTOOLS and in RM?  You
may need to include $(RM) in quotes then, like this:


    $(shell "$(RM)" $3 $(__a))

Surprisingly that does seem to have done the trick (sans quotes).
Many thanks Eli!

-raleigh


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

Reply via email to