summaryrefslogtreecommitdiff
path: root/mk/sub-makefile.mk
Commit message (Collapse)AuthorAgeFilesLines
* Build system: add `make show!` command (#7810)Thomas Miedema2015-07-131-2/+2
| | | | | | | | A normal `make show` starts a build of the ghc-stage1 compiler, to create package-data.mk files. This version doesn't read those, so it will work right after ./configure. Differential Revision: https://phabricator.haskell.org/D1064
* Build system: always use `make -r`Thomas Miedema2015-05-301-1/+6
| | | | | | | | | | | | | | | | | 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
* build: fix 'make help'Austin Seipp2015-03-071-1/+1
| | | | | | | | | | | | | | | | | Summary: This fixes the usage of `make help` in the top-level and subdirectories. Signed-off-by: Austin Seipp <austin@well-typed.com> Test Plan: It worked now and didn't before. Reviewers: hvr Reviewed By: hvr Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D692
* Fix "make 1" etc following the build system changesIan Lynagh2011-01-271-1/+2
| | | | | The logic is now in mk/compiler-ghc.mk rather than being duplicated in ghc/Makefile and compiler/Makefile.
* Make the "show" target work anywhere in the build treeIan Lynagh2010-06-161-1/+5
|
* Improved infrastructure for fast-rebuilding of parts of the treeSimon Marlow2009-07-031-5/+17
| | | | | | | | | | | | e.g. cd compiler make FAST=YES stage1/build/HscTypes.o builds just the specified .o file, without rebuilding dependencies, and omitting some of the makefile phases. FAST=YES works anywhere, to omit depenencies and phases. 'make fast' is shorthand for 'make all FAST=YES'.
* Add support for 'make help' in subdirectoriesSimon Marlow2009-06-161-1/+10
| | | | Including help for directory-specific targets, such as 'make 1' in ghc
* Add 'make fast' which omits deps (for a library) and some of the phasesSimon Marlow2009-06-151-1/+5
|
* Tweak mk/sub-makefile.mkIan Lynagh2009-05-291-3/+1
|
* make it so that 'make html', 'make pdf', and 'make ps' work for docsSimon Marlow2009-05-111-1/+1
|
* GHC new build system megapatchIan Lynagh2009-04-261-0/+34