Commit 971ccfbb authored by Simon Marlow's avatar Simon Marlow
Browse files

Add 'make fast' which omits deps (for a library) and some of the phases

parent 9aa52fb1
...@@ -16,6 +16,10 @@ TOPMAKE = $(MAKE) -C $(TOP) ...@@ -16,6 +16,10 @@ TOPMAKE = $(MAKE) -C $(TOP)
default: all 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. # We must not execute multiple recursive invocations of make in parallel.
.NOTPARALLEL: .NOTPARALLEL:
...@@ -26,7 +30,7 @@ STD_TARGETS = all clean distclean maintainer_clean install html ps pdf ...@@ -26,7 +30,7 @@ STD_TARGETS = all clean distclean maintainer_clean install html ps pdf
$(STD_TARGETS): $(STD_TARGETS):
+$(TOPMAKE) $@_$(dir) +$(TOPMAKE) $@_$(dir)
OTHERTARGETS=$(filter-out $(STD_TARGETS) $(SPEC_TARGETS),$(MAKECMDGOALS)) OTHERTARGETS=$(filter-out fast $(STD_TARGETS) $(SPEC_TARGETS),$(MAKECMDGOALS))
.PHONY: $(OTHERTARGETS) .PHONY: $(OTHERTARGETS)
$(OTHERTARGETS): $(OTHERTARGETS):
+$(TOPMAKE) $(dir)/$@ +$(TOPMAKE) $(dir)/$@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment