make: Use -MG to better deal with generated deps

When a header is missing, i.e. not generated yet, -MG simply writes a
direct dependency.
Add ?starts and ?ends for T_SEQ and T_STR