2 ms·
$ cat Makefile url_base := http://example.com %.json: wget $(url_base)/%.json .PHONY: all all: foo.json bar.json jq -s '.[0] * .
by kazinator 6y ago
$ cat Makefile
url_base := http://example.com
%.json:
wget $(url_base)/%.json
.PHONY: all
all: foo.json bar.json
jq -s '.[0] * .[1]' $^
$ make -j 2