Added dependency checking (via the usual "make depend").  This uses
sinclude, which should be reasonably portable (at least GNU and
FreeBSD make support it, which covers most of my intended targets).

Replaced the kludge-tastic extra rules that were working around the
lack of dependency checking.