Add -MP option for generating phony targets for all dependencies

- Modelled on similar option in GCC