[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gmake help with removing duplicate files
From: |
Ralf Wildenhues |
Subject: |
Re: gmake help with removing duplicate files |
Date: |
Fri, 1 Feb 2008 20:29:36 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello Jonathan,
* Jonathan wrote on Thu, Jan 31, 2008 at 03:41:57AM CET:
>
> I have an interesting filter problem (I think). I would like to
> remove duplicate filenames
Why would you need that?
> LIST1 := file1.o file2.o file3.o
> LIST2 := path/file3.o path/file4.o path/file5.o
>
> Desired result of:
>
> LIST := file1.o file2.o file3.o path/file4.o path/file5.o
With GNU make, use $(sort $(LIST1) $(LIST2)).
Cheers,
Ralf
- Re: gmake help with removing duplicate files,
Ralf Wildenhues <=