Lisandro Dalcin <[email protected]> writes: > On Thu, 26 Mar 2020 at 00:48, Jed Brown <[email protected]> wrote: > >> Scott, you can't pass '$(alltesttargets)' on the command line like this. >> >> TESTTARGETS := $(shell $(PYTHON) -c"import sys,fnmatch,itertools; >> m=[fnmatch.filter(sys.argv[2].split(),p) for p in sys.argv[1].split()]; >> print(' '.join(list(itertools.chain.from_iterable(m))))" '$(globsearch)' >> '$(alltesttargets)') >> >> For this feature, probably put them in an argsfile >> >> $(file >$(TESTDIR)/globsearch.args,$(alltesttargets)) >> >> > IIRC, the $(file ...) function does not work with stock make in macOS.
You're right; that is a make 4.0 feature. But developers who need globsearch should have the ability to evade Apple's anti-GNU smear.
