On 9/28/05, Torsten Mohr <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i want to remove double entries from a list, actually something
> like $(strip ) does, but without the effect of sorting them.

I've been using this:

define uniq
$(strip $(eval tmp:=)$(foreach i,$1,$(eval tmp+=$(if $(filter
$i,$(tmp)),,$i))) $(tmp))
endef

--
Shawn Halpenny


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

Reply via email to