projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sure the main git repo is case-insensitive too
[ghc-hetmet.git]
/
compiler
/
Makefile
diff --git
a/compiler/Makefile
b/compiler/Makefile
index
f5a74f4
..
f099ab7
100644
(file)
--- a/
compiler/Makefile
+++ b/
compiler/Makefile
@@
-10,19
+10,15
@@
#
# -----------------------------------------------------------------------------
#
# -----------------------------------------------------------------------------
-dir = compiler
-TOP = ..
-SPEC_TARGETS = 1 2 3
-include $(TOP)/mk/sub-makefile.mk
-
-.PHONY: 1 2 3
+# If the user says 'make' or 'make stage=2' here, we behave as if they were
+# in the ghc directory instead, so that the executable GHC gets built.
+.PHONY: default_to_ghc all_ghc
+default_to_ghc : all_ghc
-1:
- +$(TOPMAKE) stage=1 all_ghc_stage1 compiler_stage1_NO_BUILD_DEPS=YES
+dir = compiler
-2:
- +$(TOPMAKE) stage=2 all_ghc_stage2 compiler_stage2_NO_BUILD_DEPS=YES
+include ../mk/compiler-ghc.mk
-3:
- +$(TOPMAKE) stage=3 all_ghc_stage3 compiler_stage3_NO_BUILD_DEPS=YES
+all_ghc :
+ +$(TOPMAKE) all_ghc $(EXTRA_MAKE_OPTS)