help-gnu-utils
[Top][All Lists]
Advanced

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

Re: make target conflict


From: Ralf Wildenhues
Subject: Re: make target conflict
Date: Mon, 5 Feb 2007 20:43:42 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* James wrote on Mon, Feb 05, 2007 at 08:36:16PM CET:
> 
> all: T aa/../T
> T:
>         @echo $@
> aa/../T:
>         @echo $@
> 
> Should make complain about the duplicate targets?

Hmm.  Are you sure they are duplicate?  Even if make executes the
following in parallel?  Conversely: how should make ever be able
to know for certain?

all: T symlink aa/../T
T:
        @echo $@
aa/../T:
        @echo $@
symlink:
        -rmdir aa
        mkdir sub sub/sub
        ln -s sub/sub aa

Cheers,
Ralf




reply via email to

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