Lines Matching refs:target
13 # Name of target with a '.' as filename prefix. foo/bar.o => foo/.bar.o
14 dot-target = $(dir $@).$(notdir $@)
19 depfile = $(subst $(comma),_,$(dot-target).d)
22 # filename of target with directory and extension stripped
229 # target, or command line has changed
252 # Find any prerequisites that is newer than target or that does not exist.
261 printf '%s\n' 'cmd_$@ := $(make-cmd)' > $(dot-target).cmd)
267 scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(dot-target).tmp;\
269 mv -f $(dot-target).tmp $(dot-target).cmd)
279 # why - tell why a a target got build
282 # (1) - due to target is PHONY
283 # (2) - due to target missing
287 # (6) - due to target not in $(targets)
289 # (2) No target, so we better build it
290 # (3) Prerequisite is newer than target
291 # (4) The command line stored in the file named dir/.target.cmd
294 # (5) No dir/.target.cmd file (used to store command line)
295 # (6) No dir/.target.cmd file and target not listed in $(targets)
299 $(if $(filter $@, $(PHONY)),- due to target is PHONY, \
311 - due to target missing \