|
Revision c1e824a275339da8fae6614f5a0db751874d0a36, 0.7 KB
(checked in by Ian Lynagh <igloo@…>, 16 months ago)
|
|
Fix "make 1" etc following the build system changes
The logic is now in mk/compiler-ghc.mk rather than being duplicated in
ghc/Makefile and compiler/Makefile.
|
-
Property mode set to
100644
|
| Line | |
|---|
| 1 | # ----------------------------------------------------------------------------- |
|---|
| 2 | # |
|---|
| 3 | # (c) 2009 The University of Glasgow |
|---|
| 4 | # |
|---|
| 5 | # This file is part of the GHC build system. |
|---|
| 6 | # |
|---|
| 7 | # To understand how the build system works and how to modify it, see |
|---|
| 8 | # http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture |
|---|
| 9 | # http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying |
|---|
| 10 | # |
|---|
| 11 | # ----------------------------------------------------------------------------- |
|---|
| 12 | |
|---|
| 13 | # If the user says 'make' or 'make stage=2' here, we behave as if they were |
|---|
| 14 | # in the ghc directory instead, so that the executable GHC gets built. |
|---|
| 15 | .PHONY: default_to_ghc all_ghc |
|---|
| 16 | default_to_ghc : all_ghc |
|---|
| 17 | |
|---|
| 18 | dir = compiler |
|---|
| 19 | |
|---|
| 20 | include ../mk/compiler-ghc.mk |
|---|
| 21 | |
|---|
| 22 | all_ghc : |
|---|
| 23 | +$(TOPMAKE) all_ghc $(EXTRA_MAKE_OPTS) |
|---|