I need to look at which commands are being used by make, but running command make --dry-run does not show the commands used by an internal make -C /foo
make --dry-run
make -C /foo
To allow -n to work recursively, invoke make recursively with $(MAKE) instead of just make.
-n
$(MAKE)
make
foo: $(MAKE) -C /foo