X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fsub-makefile.mk;h=a1d1e9b608d0e0183798e3a51c36db231b4ee243;hb=971ccfbbc3d81e8c2f24c985b22bc93748e865e0;hp=1d41bd101a94c622e951c90fc95662d24d615c13;hpb=61ef1764bf342f90480602770b43ec3ae768f7f1;p=ghc-hetmet.git diff --git a/mk/sub-makefile.mk b/mk/sub-makefile.mk index 1d41bd1..a1d1e9b 100644 --- a/mk/sub-makefile.mk +++ b/mk/sub-makefile.mk @@ -14,13 +14,15 @@ TOPMAKE = $(MAKE) -C $(TOP) -default : - +$(TOPMAKE) all_$(dir) +default: all + +fast : + +$(TOPMAKE) all_$(dir) $(dir)_dist-install_NO_BUILD_DEPS=YES \ + OMIT_PHASE_1=YES OMIT_PHASE_2=YES OMIT_PHASE_3=YES # We must not execute multiple recursive invocations of make in parallel. .NOTPARALLEL: -# all comes first, we want it to be the default target STD_TARGETS = all clean distclean maintainer_clean install html ps pdf # The + tells make that we're recursively invoking make, otherwise 'make -j2' @@ -28,7 +30,7 @@ STD_TARGETS = all clean distclean maintainer_clean install html ps pdf $(STD_TARGETS): +$(TOPMAKE) $@_$(dir) -OTHERTARGETS=$(filter-out $(STD_TARGETS) $(SPEC_TARGETS),$(MAKECMDGOALS)) +OTHERTARGETS=$(filter-out fast $(STD_TARGETS) $(SPEC_TARGETS),$(MAKECMDGOALS)) .PHONY: $(OTHERTARGETS) $(OTHERTARGETS): +$(TOPMAKE) $(dir)/$@