[asterisk-dev] [svn-commits] rizzo: trunk r72700 - /trunk/main/Makefile

Russell Bryant russell at digium.com
Fri Jun 29 16:56:26 CDT 2007

Luigi Rizzo wrote:
> I think the last sentence in the above manpage is wrong and the two things
> are actually different (in fact, if you try, they do behave differently
> if the target is a real file). If you read the .PHONY page
> http://www.gnu.org/software/make/manual/html_node/Phony-Targets.html#Phony-Targets
> it says that .PHONY targets should not be real files, and i bet that internally
> gmake uses this assumption to imply that the target is not just _possibly_ out
> of date, but it _must_ be rebuilt.

Ah, that makes sense.  I'm glad I understand that now.  So, it looks
like what you have done is definitely the right approach.

> Anyways, FORCE might be a better name than CHECK_SUBDIR for the fake target.

It doesn't really matter to me.  CHECK_SUBDIR seems to be more clear as
to what it is for in this case.

Russell Bryant
Software Engineer
Digium, Inc.

More information about the asterisk-dev mailing list