%% Erwin Waterlander <[EMAIL PROTECTED]> writes:

  ew> I tried a very simple example from the GNU make manual section 4.6
  ew> about phony targets. It does not seem to work as described. The
  ew> targets are not remade when I run make a second time. See
  ew> attachement.

You've only declared the target "all" to be phony.  So only "all" itself
will be remade every time.

Targets that all depends on, like prog1 and prog2, are not declared
phony so they use make's normal build avoidance rules and are not built
unless they're deemed out of date.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to