bugfix: on second pass, need only add dependencies that don't exist (those that
exist but are out of date are already added in the first pass), otherwise it's
like running make with -B every time.
added new sample project for testing dependencies