help-make
[Top][All Lists]
Advanced

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

RE: weird output from Make


From: Yanghui Bian
Subject: RE: weird output from Make
Date: Wed, 3 Nov 2004 20:16:49 +0100

Thank you.
So Make takes the explicit rule as the implicity rule. 

-----Original Message-----
From: Boris Kolpackov [mailto:address@hidden 
Sent: Tuesday, November 02, 2004 20:54
To: address@hidden
Subject: Re: weird output from Make

"Yanghui Bian" <address@hidden> writes:

> # --------------------------------
> .PHONY: %-test
> %-test: %/test
>       @echo "sssssssssss"
>
> %/test:
>       mkdir -p $*/test
> # --------------------------------
>
> $ make 21-test
> #mkdir -p 21/test
> #sssssssssss
> #rm 21/testmake: unlink: 21/test: Operation not permitted
>
> Any clue to the error of the last output line?

21/test is considered intermediate by GNU make and therefore deleted.
Read "Chaining of Implicit Rules" of GNU make manual.

-boris











reply via email to

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