6.6.7.27 -MP

This option instructs CPP to add a phony target for each dependency other than the main file, causing each to depend on nothing. These dummy rules work around errors make gives if you remove header files without updating the make-file to match.

This is typical output:

test.o: test.c test.h

test.h: