in reply to [SOLVED] Capture the make status
Why not get make to do all the work? It can call itself recursively, just write a rule for each subsystem.
subsystem: cd subdir && $(MAKE) or, equivalently, subsystem: $(MAKE) -C subdir
It is explained in the make docs, try:
info make
|
|---|