Metaswitch/sprout — pull request #633 by bossmc (2014-07-01 14:26:28+00:00)
Title: Reviewer Alex - Use order dependencies for PHONY targets

As previously discussed, if you don't use order dependencies when using PHONY targets, make allows the builds to occur in parallel rather than serializing. This means that building with `-j 2` or higher reports various coverage/valgrind errors since the results analysis occurs before the tests are run.

Solution is to use ordering rules (see https://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html for details) which cause the rules to be ordered.

If you're happy I'll port to Ralf/Homestead/Chronos/etc.