Try to execute via a subshell:
run:
for x in *.bin ; do (./$$x &); done
Maybe make -j
is a better option. Try a Makefile
that looks something like this:
BINS = $(shell echo *.bin)
.PHONY: $(BINS)
run: $(BINS)
*.bin:
./$@
And then execute with make -j
where
is number of simultaneous jobs to run.