If main.c contains the line
#include "main.h"
you can use the "Update all dependencies" choice in the Project menu. This will scan all *.c files in the project for #include "somefile.h", but not #include <somefile.h>, assuming this is a system file (like stdio.h etc.).
Pelle