help-make
[Top][All Lists]
Advanced

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

.PHONY non-rules


From: Magnus Fromreide
Subject: .PHONY non-rules
Date: Thu, 21 Mar 2013 22:25:25 +0100
User-agent: Mutt/1.5.12-2006-07-14

I have a makefile that contains nothing but a .PHONY target as follows:

.PHONY: a

If I try to build a target named 'b' then make tells me there are no rules
for that.

If I try to build a target named 'a' then make tells me that there is no
need to remake that target.

Is this implicit rule creation an intentional feature of make or just a bug?

/MF



reply via email to

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