Lines Matching refs:target
12 # Name of target with a '.' as filename prefix. foo/bar.o => foo/.bar.o
13 dot-target = $(dir $@).$(notdir $@)
18 depfile = $(subst $(comma),_,$(dot-target).d)
21 # filename of target with directory and extension stripped
222 # target, or command line has changed
245 # Find any prerequisites that is newer than target or that does not exist.
254 printf '%s\n' 'cmd_$@ := $(make-cmd)' > $(dot-target).cmd)
260 scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(dot-target).tmp;\
262 mv -f $(dot-target).tmp $(dot-target).cmd)
272 # why - tell why a a target got build
275 # (1) - due to target is PHONY
276 # (2) - due to target missing
280 # (6) - due to target not in $(targets)
282 # (2) No target, so we better build it
283 # (3) Prerequisite is newer than target
284 # (4) The command line stored in the file named dir/.target.cmd
287 # (5) No dir/.target.cmd file (used to store command line)
288 # (6) No dir/.target.cmd file and target not listed in $(targets)
292 $(if $(filter $@, $(PHONY)),- due to target is PHONY, \
304 - due to target missing \