help-make
[Top][All Lists]
Advanced

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

multiple .PHONY or single .PHONY


From: Martin d'Anjou
Subject: multiple .PHONY or single .PHONY
Date: Thu, 18 Feb 2010 09:37:32 -0500 (EST)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

Hello,

Is it okay to declare .PHONY multiple times, scattered throughout the makefile like this:

.PHONY: all
.PHONY: clean
.PHONY: other

Or must all .PHONY targets be consolidated into a single .PHONY declaration like this:

.PHONY:all clean other

Thanks,
Martin




reply via email to

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