help-make
[Top][All Lists]
Advanced

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

some newbie-level questions (some style issues as well)


From: Robert P. J. Day
Subject: some newbie-level questions (some style issues as well)
Date: Mon, 15 Dec 2003 07:48:34 -0500 (GMT-05:00)

  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.

2) what's the technical definition of an "implicit" rule?  does this include 
both
   the internal suffix rules and any user-defined pattern rules, as the make 
   manual seems to suggest?

   and is there a run-time option to list all internal suffix rules that come 
with
   gnu make?

rday






reply via email to

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