help-make
[Top][All Lists]
Advanced

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

Re: weird output from Make


From: Boris Kolpackov
Subject: Re: weird output from Make
Date: Tue, 2 Nov 2004 19:54:13 +0000 (UTC)
User-agent: nn/6.6.5+RFC1522

"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]