Makefile: Magic silent rules.
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 21 Nov 2009 20:32:20 +0000 (20:32 +0000)
committerCarl Worth <cworth@cworth.org>
Sun, 22 Nov 2009 03:29:29 +0000 (04:29 +0100)
commit530df68258ea0fbdceafd6e4a0f51889c6ee86d2
tree108e8fec03c6e3fe05ec952c36c1b32af5e6b9b0
parent5d56e931b99d575dbb0b936d24aae5e9903861ad
Makefile: Magic silent rules.

Use the facilities of GNU make to create a magic function that will
on the first invocation print a description of how to enable verbose
compile lines and then print the quiet rule.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Carl Worth <cworth@cworth.org>
Cc: Mikhail Gusarov <dottedmag@dottedmag.net>
[ickle: Rebased, and duplicate command string eliminated.]
[ickle: Fixed verbose bug pointed out by Mikhail]
Makefile
Makefile.local
lib/Makefile.local