-# If we're booting from .hc files, swap the order
-# we descend into subdirs - to boot utils must be before driver.
-#
-ifeq "$(BootingFromHc)" "YES"
-SUBDIRS = includes rts docs compiler utils driver
-else
-ifneq "$(ILXized)" "YES"
-SUBDIRS = includes utils driver docs compiler rts
-else
-# No RTS for ILX
-SUBDIRS = includes utils driver docs compiler
-endif
-endif
+# -----------------------------------------------------------------------------
+
+dir = ghc
+TOP = ..
+SPEC_TARGETS = 1 2 3
+include $(TOP)/mk/sub-makefile.mk
+
+FAST_MAKE_OPTS += compiler_stage1_NO_BUILD_DEPS=YES compiler_stage2_NO_BUILD_DEPS=YES compiler_stage3_NO_BUILD_DEPS=YES