X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2FMakefile;h=62207dc5632c49405585d5343d4e8c4091e84e47;hb=3bb66cc52ced70cd7081fb8a2e32a1005528d5a0;hp=669c938dd7255d208c7fe5ff2f1f7d3ab3ac30b2;hpb=ab1d5052de53479377c961d1e966f0cf0b82c592;p=ghc-hetmet.git diff --git a/ghc/Makefile b/ghc/Makefile index 669c938..62207dc 100644 --- a/ghc/Makefile +++ b/ghc/Makefile @@ -11,29 +11,6 @@ # ----------------------------------------------------------------------------- dir = ghc -TOP = .. -SPEC_TARGETS = 1 2 3 -include $(TOP)/mk/sub-makefile.mk -FAST_MAKE_OPTS += compiler_stage1_NO_BUILD_DEPS=YES compiler_stage2_NO_BUILD_DEPS=YES compiler_stage3_NO_BUILD_DEPS=YES +include ../mk/compiler-ghc.mk -.PHONY: 1 2 3 - -1: - +$(TOPMAKE) stage=1 all_ghc_stage1 $(FAST_MAKE_OPTS) - -2: - +$(TOPMAKE) stage=2 all_ghc_stage2 $(FAST_MAKE_OPTS) - -3: - +$(TOPMAKE) stage=3 all_ghc_stage3 $(FAST_MAKE_OPTS) - -.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."