To workaround this the foo: baz can be modified to include a useful command:
foo: baz ; @true
and the correct results will be generated.
This is a simple technique that can provide useful information from the Make. It isn't as flexible as some commercial tools that can provide detailed information about the commands run, and even timing information, but as a Makefile debugging aid it's simple to implement and provides insight that hard to obtain otherwise.