blob: e1b8a0054092cfbcb5b61709ea9f53dc95bbdfe4 [file] [log] [blame]
base := base
dirs := a b c d
dir := FAIL
comma := ,
files := $(foreach dir,$(dirs),$(foreach subdir,$(dirs),$(dir)/$(subdir)/$(base)))
ifdef KATI
files2 := $(KATI_foreach_sep dir,$(comma) ,$(dirs),"$(dir)")
else
# Since make doesn't have the function, manually set the result.
files2 := "a", "b", "c", "d"
endif
test:
echo $(files)
echo $(files2)