On Wed, 2011-05-11 at 18:24 +0530, Ajay Jain wrote: > > Add: > > .PHONY: 2.o > > It should be .PHONY: 2.c. If we keep 2.o as phony, then 2.o is never > rebuilt. If we keep 2.c as phony, then we can always rebuild 2.o > irrespective of timestamp.
You've clipped enough of this (and I don't remember the context) that I can't say whether the .PHONY should be the .o or the .c. However, your statement "If we keep 2.o as phony, then 2.o is never rebuilt" is not correct as written. A .PHONY target is ALWAYS rebuilt; that's what it means to be phony. _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
