Lines Matching +full:- +full:o
5 define _enum-parent-dirs
6 $(if $(1),$(1) $(if $(filter / ./,$(dir $(1))),,$(call enum-parent-dirs,$(dir $(1)))),)
9 define enum-parent-dirs
10 $(call _enum-parent-dirs,$(patsubst %/,%,$(1)))
17 # Returns the list of all existing output directories up to $(O) including all
20 # Example: if cleanfiles is "foo/a/file1 foo/b/c/d/file2" and O=foo, this will
22 define cleandirs-for-rmdir
23 $(eval _O:=$(if $(O),$(O),.))$(wildcard $(addprefix $(_O)/,$(call _reverse,
25 $(call enum-parent-dirs,$(d)))))))
28 RMDIR := rmdir --ignore-fail-on-non-empty
30 # Remove files with "rm -f".
34 define do-rm-f
35 $(call _do-rm-f, $(wordlist 1, 200, $(1))) \
37 $(if $(_tail), $(call do-rm-f, $(_tail)))
40 define _do-rm-f
41 ${q}rm -f $1