3.6.7.13 MP: Add Phony Target For Dependency Option
The -MP
option instructs the preprocessor to add a
phony target for each dependency other than the main file, causing each to depend on
nothing. These MP rules work around make errors if you remove header files without
updating the make-file to match.
This is typical output:
test.o: test.c test.h
test.h: