help-make
[Top][All Lists]
Advanced

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

pedantic nitpickery: difference between "goal" and "target"?


From: Robert P. J. Day
Subject: pedantic nitpickery: difference between "goal" and "target"?
Date: Sat, 2 Nov 2019 07:01:32 -0400 (EDT)
User-agent: Alpine 2.21 (LFD 202 2017-01-01)

  junior colleague who is just learning make and is going through make
manual asked me the other day (regarding section 2.3 in manual) about
this passage:

"By default, make starts with the first target (not targets whose
names start with ‘.’). This is called the default goal. (Goals are the
targets that make strives ultimately to update ..."

  the question was, "what is the difference between a 'goal' and a
'target'?"

  i wasn't quite sure ... i didn't think there was any substantive
difference. the best i could come up is that targets define what *can*
be invoked, while the goal is the target you're currently *trying* to
update, but that sounded pretty lame.

  is there a better explanation? or am i overthinking this?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


reply via email to

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