projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the gmp/Integer primops from the compiler
[ghc-hetmet.git]
/
mk
/
sub-makefile.mk
diff --git
a/mk/sub-makefile.mk
b/mk/sub-makefile.mk
index
031d62a
..
989c0c9
100644
(file)
--- a/
mk/sub-makefile.mk
+++ b/
mk/sub-makefile.mk
@@
-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.
.NOTPARALLEL:
# We must not execute multiple recursive invocations of make in parallel.
.NOTPARALLEL:
@@
-26,7
+30,16
@@
STD_TARGETS = all clean distclean maintainer_clean install html ps pdf
$(STD_TARGETS):
+$(TOPMAKE) $@_$(dir)
$(STD_TARGETS):
+$(TOPMAKE) $@_$(dir)
-OTHERTARGETS=$(filter-out $(STD_TARGETS) $(SPEC_TARGETS),$(MAKECMDGOALS))
+OTHERTARGETS=$(filter-out fast help $(STD_TARGETS) $(SPEC_TARGETS),$(MAKECMDGOALS))
.PHONY: $(OTHERTARGETS)
$(OTHERTARGETS):
+$(TOPMAKE) $(dir)/$@
.PHONY: $(OTHERTARGETS)
$(OTHERTARGETS):
+$(TOPMAKE) $(dir)/$@
+
+.PHONY: help
+help : sub-help
+
+.PHONY: sub-help
+sub-help :
+ @echo "You are in subdirectory \"$(dir)\"."
+ @echo "Useful targets in this directory:"
+ @cat $(TOP)/SUBMAKEHELP