3 /* order in SUBDIRS is not supposed to be important but ...
4 "compiler" must be before "lib", because we use
5 the compiler just built to compile pieces of "lib".
7 "includes" also needs to be v early, to ensure that
8 GhcConstants.h is made before needed.
10 if we're building from .hc files, we do the libraries
11 first, then the compiler; otherwise the other way around
14 #if HaskellCompilerType == HC_USE_HC_FILES
15 #define __compiler_and_lib lib compiler
17 #define __compiler_and_lib compiler lib
29 #undef __compiler_and_lib
31 /* "CONTRIB" is also a SUBDIR, but there is nothing to build there.
34 /* the standard "whoami" target will give the basic info. */
35 /* this target adds to it. */
37 @echo using a \`$(BUILDPLATFORM)\' host to build a Haskell compiler to run on a
38 @echo \`$(HOSTPLATFORM)\' host that will generate \`C\' target code