Now rebuilds when dependencies are modified
This works with the test cases I have tried with the sample c program we
have been using.