make: create dependencies as side effect

No need to do magic with `sed`, no need to parse all files twice, no
need to use `clean` if you renamed a header.