summaryrefslogtreecommitdiff
path: root/compiler/Makefile
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-06-16 08:53:41 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-06-16 08:53:41 +0000
commitf684f630a90eea64a13542c3bb0a1ab54a5067b7 (patch)
tree78dad3c53b00b6154a5898aee88b27bd007545af /compiler/Makefile
parent2dfd2ac773482f26e393a199e9d04fc9c23d5794 (diff)
downloadhaskell-f684f630a90eea64a13542c3bb0a1ab54a5067b7.tar.gz
Add support for 'make help' in subdirectories
Including help for directory-specific targets, such as 'make 1' in ghc
Diffstat (limited to 'compiler/Makefile')
-rw-r--r--compiler/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index aaecaf14b1..7618f680a1 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -26,3 +26,12 @@ include $(TOP)/mk/sub-makefile.mk
3:
+$(TOPMAKE) stage=3 all_ghc_stage3 compiler_stage3_NO_BUILD_DEPS=YES OMIT_PHASE_1=YES OMIT_PHASE_2=YES OMIT_PHASE_3=YES
+.PHONY: extra-help
+help : extra-help
+extra-help :
+ @echo " make 1"
+ @echo " make 2"
+ @echo " make 3"
+ @echo
+ @echo " Build the stage 1, 2 or 3 GHC respectively, omitting dependencies"
+ @echo " and initial phases for speed."