Re: Question about `wildcard` value caching

2018-12-21 Thread Brian Vandenberg
Minimal example: $ cat makefile $(shell rm -rf /tmp/blah) $(shell mkdir -p /tmp/blah) ASDF = $(info $1 $(wildcard /tmp/blah/*) $(if ${BLAH},$(info before $(wildcard /tmp/blah/*))) $(shell touch /tmp/blah/{a,b,c}.txt) $(info after $(wildcard /tmp/blah/*.txt)) $ make --version GNU Make 4.1

Re: [bug #55243] Request for a way to indicate that the same recipe execution produces several targets

2018-12-21 Thread Brian Vandenberg
I usually instruct my co-workers to avoid making recipes along those lines as I consider it to be a form of painting yourself into a corner, though there are times where it's unavoidable. In the build I maintain it used to have something like this: blah.o : blah.xyz > some command | sed 'some