Makefile 759 Bytes
Newer Older
1 2 3 4 5 6 7
# -----------------------------------------------------------------------------
#
# (c) 2009 The University of Glasgow
#
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
8 9
#      https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
#      https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
10 11 12
#
# -----------------------------------------------------------------------------

13 14 15 16 17
# 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

Ian Lynagh's avatar
Ian Lynagh committed
18
dir = compiler
19 20

include ../mk/compiler-ghc.mk
21

22 23 24
all_ghc :
	+$(TOPMAKE) all_ghc $(EXTRA_MAKE_OPTS)