Build system: always use `make -r`
authorThomas Miedema <thomasmiedema@gmail.com>
Wed, 20 May 2015 17:57:57 +0000 (19:57 +0200)
committerThomas Miedema <thomasmiedema@gmail.com>
Sat, 30 May 2015 15:02:38 +0000 (17:02 +0200)
commit577d315824440bba5e2f56d2eeba9bd8c5ee17e4
tree3feef6a7cf0f595a5bf671b7447761b8890b78ec
parent48ed2f128ac0e550022826154e449a5cc55f2d3a
Build system: always use `make -r`

Do what this comment was suggesting:

    "Ideally we'd like to have 'make -r' turned on by default, because
    that disables all the implicit rules, but there doesn't seem to be a
    good way to do that."

This change doesn't seem to have much effect on the time it takes to run
make. Apparently clearing .SUFFIXES was enough for that. But it does
make the output of `make -d` quite a bit shorter, which is nice.

Note: ghc.mk is always called indirectly, so no need to set .SUFFIXES or
MAKEFLAGS there again.

Differential Revision: https://phabricator.haskell.org/D915
Makefile
ghc.mk
mk/sub-makefile.mk
testsuite/mk/boilerplate.mk