help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to debug my Makefile


From: Paul Smith
Subject: Re: How to debug my Makefile
Date: Fri, 20 Jul 2018 10:33:25 -0400

On Fri, 2018-07-20 at 06:22 -0700, address@hidden wrote:
>  Within Gnu Make, it's pretty easy to $(sort) sort a list, but
>  de-duplicating it is a bit tougher.

GNU make's sort also uniquifies...

https://www.gnu.org/software/make/manual/html_node/Text-Functions.html

$(sort list)
    Sorts the words of list in lexical order, **removing duplicate words.**
    The output is a list of words separated by single spaces.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]