First, to be clear, make is not multithreaded. Using -j just makes make run several commands at the same time (mostly in the background).
Secondly, no, it is impossible to include several jobs from the makefile. In any case, you do not want to do this, because other systems will have a different number of cores and no matter what value you choose, it will not work well in these systems.
You do not need to write multiple makefiles, but you can simply use:
BIN_OBJS = $(wildcard *.bin) HEX_OBJS = $(subst .bin,.hex,$(BIN_OBJS)) .PHONY: all multi multi: $(MAKE) -j8 all all: $(HEX_OBJS) $(HEX_OBJS): %.hex: %.bin python ../../tools/bin2h.py $< > $@
source share