"Robert P. J. Day" wrote: > > a couple more questions about gnu make -- i apologize for having a non- > specific subject since there's more than one question. > > 1) what is the recommended style for defining phony targets, as in, where > does one actually define them? all at once at the top of the makefile, or > one by one as they are defined? > > .PHONY: target1 target2 target3 ... and so on > > or should one pair them up as they occur, as in: > > .PHONY: clean > clean: > ... commands ... > > lile i said, it's just a style question.
I prefer the latter since it makes refactoring the makefiles much simpler. Noel -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited. _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
