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

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

"Yanghui Bian" <[EMAIL PROTECTED]> 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









_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to