All examples recompile when running make #10772

Expected behavior

When no dependencies have changed, the corresponding executable in the /examples directory should not recompile.

Actual behavior

When make is run in /examples, all executables are recompiled

Steps to reproduce the behavior

Run make twice in /examples