Applications/*/Makefile.6809: Tidy up dependencies in rules
authorTormod Volden <debian.tormod@gmail.com>
Sat, 28 May 2016 15:32:48 +0000 (17:32 +0200)
committerAlan Cox <alan@etchedpixels.co.uk>
Tue, 31 May 2016 11:40:58 +0000 (12:40 +0100)
commitd985eafb487e701e4ce9c1866f0eb8198d682e2b
treeb26317f30c5efbad1860f72638d1a56e32d48ba2
parent8a44a71f3d7094d0ccc632096edbe6a83bb0c51a
Applications/*/Makefile.6809: Tidy up dependencies in rules

Avoid having all objects depend on all source files. Instead use
better defined static rules that contain the dependencies.

By using $^ in the APPS rules the CRT0 is included because
the APPS depend on it. Makes it easy to let e.g. APPSNS depend
on CRT0NS instead.

Also fix the size.report target so that it gets built only when
needed.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Applications/MWC/cmd/Makefile.6809
Applications/V7/cmd/Makefile.6809
Applications/V7/cmd/sh/Makefile.6809
Applications/V7/games/Makefile.6809
Applications/cave/Makefile.6809
Applications/dw/Makefile.6809
Applications/games/Makefile.6809
Applications/levee/Makefile.6809
Applications/util/Makefile.6809