"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