makefiles: don't assume that output and target is always the same

No match.