# $(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
Also, I should note that invoking rm directly in a recipe does work.
e.g. (V is either empty or @, OS_TYPE is win32 in this case)
$V$(RM) -r ./output/$(OS_TYPE)/
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make