tech-toolchain archive

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

Re: Make and makefile bugs (PRs 49085, 49086, 49087)



On 2014-08-17 15:03Z, Jarmo Jaakkola wrote:
> So, if .a, .b, and .a.b are known suffixes,

According to POSIX, .a.b is not a valid suffix:
        [...] (where .s1 and .s2 are suffixes that have been given as
         prerequisites of the .SUFFIXES special target and s1 and s2 do
         not contain any <slash> or <period> characters.)

This seems to justify implementations which find the suffix with

    if ( (suff = strrchr(name, '.')) && !strchr(suff, '/') ) {

which will certainly miss .a.b (or .tar.gz) suffixes, even if they are
later specified as part of .SUFFIXES

Antoine


Home | Main Index | Thread Index | Old Index