-# If we're booting from .hc files, swap the order
-# we descend into compiler/ and lib/.
-#
-ifeq "$(BootingFromHc)" "YES"
-SUBDIRS = includes utils rts docs compiler 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